I gave Claude Code one sentence and got 24 leads: the full session A developer at b2bsearch ran three logged Claude Code sessions against Apify's MCP server to test how an agent handles a single-sentence lead-generation task, finding that the bare prompt produced 24 US-based contacts for 17 cents while a brief that forced a free count and confirmation before paid runs cut peak context from 68,625 to 43,901 tokens. The agent independently built a company search query, then loosened an overly narrow people query after only four results came back, and resumed the session to ask before spending on paid runs. You connect an agent to a metered data API and type one sentence. What does it do next, call by call? Does it count before it spends? Does it ask you anything? How much of its context goes to tool schemas and how much to rows? I ran that on 1 December 2026 and kept the logs. Three sessions with the same task: the bare sentence, the sentence with two more lines, and the brief I ended up keeping. I build the b2bsearch Actors on Apify, so the tools are Company Search https://apify.com/b2bsearch/company-database-search , B2B Leads Finder https://apify.com/b2bsearch/b2b-leads-finder and People Search https://apify.com/b2bsearch/people-database-search over the Apify MCP server. | | 1. One sentence | 2. Count first, ask me | 3. The brief | |---|---|---|---| | Wall time | 2 min 21 s | 1 min 56 s | 1 min 42 s | | Free counts before paying | 0 | 2 | 1 | | Asked before a paid run | no | yes | yes | | Company rows bought | 60 | 100 | 100 | | People in the final table | 24 | 25 | 25 | | People who live in the US | 17 | 25 | 25 | | Largest context of the session | 56,599 tokens | 68,625 tokens | 43,901 tokens | | Data cost | 17 cents | 41 cents | 26 cents | Claude Code 2.1.323 on Sonnet, non-interactive, with a config that holds one MCP server and nothing else: { "mcpServers": { "apify": { "type": "http", "url": "https://mcp.apify.com?tools=b2bsearch/company-database-search,b2bsearch/people-database-search,b2bsearch/b2b-leads-finder", "headers": { "Authorization": "Bearer ${APIFY TOKEN}" } } } } claude -p "