Build
Enrich a company profile
Find sources for a company profile in one MCP batch with a spending cap and receipts.
To enrich a company profile with a spending cap, use Frames to find a search tool, then pass the tool calls and a budget in one frames_invoke_tools request. Use the returned links to cite the profile and read billing.charged_credits and each call's receipt to see what the run cost and what arrived.
Find the tool for free#
Connect Frames over MCP. Call frames_search_tools with {"query":"Google web search with result URLs and snippets"}. Check the input schema and quoted price for a match. A hit marked invoke_ready includes both. Use frames_probe_tools if the tool still needs a live check.
Fetch two sources in one batch#
This MCP example looks up Cloudflare's network services and SEC filings. The tool used here takes query and num. Use the ID, schema and quoted price for the tool you pick. Put the search_id returned by frames_search_tools in search_ids. Use a unique idempotency key for each new batch and reuse it whenever you retry that batch.
{
"calls": [
{
"id": "agentic.enrich-gate-vercel-app..search",
"args": {
"query": "Cloudflare official about company network services site:cloudflare.com",
"num": 3
}
},
{
"id": "agentic.enrich-gate-vercel-app..search",
"args": {
"query": "Cloudflare SEC company annual report Cloudflare 10-K site:sec.gov",
"num": 3
}
}
],
"max_usd": 0.034,
"search_ids": ["REPLACE_WITH_SEARCH_ID"],
"idempotency_key": "cloudflare-company-profile-example-001"
}max_usd sets a cap for the whole request and can lower your plan's per-request limit. At $0.001 per credit, 0.034 sets a 34-credit cap. If the batch returns status: "running", call frames_get_run with its run_id.
Write the profile and check the receipt#
The example returned Cloudflare's description of its network services and the SEC's company filing index. A short profile from those sources could read as follows.
Cloudflare provides services that connect, secure, and accelerate networks. Cloudflare, Inc. trades on the NYSE under NET. Cloudflare Network Services · SEC filings
Use the source pages to verify the claims, especially any dated figures. On November 27, 2026, both calls delivered and Frames billed 33 credits under the 34-credit cap. Prices and availability can change. For each new run, check each call's delivered flag and receipt, then read billing.charged_credits for the run total. To retrieve the receipt again, call frames_get_receipt with the run_id.