In "Stop Wrapping Endpoints as Tools" I argued that agents work better with a few tools shaped around the job than with one tool per REST endpoint. That was an argument from experience. This experiment puts numbers on it, and I wrote the hypothesis down before the first live run so the results could prove me wrong: task-shaped tools give a higher success rate with fewer tool calls and fewer tokens, and the gap is wider on a smaller model.
The setup keeps everything equal except the tools. Both MCP servers sit on the same client for the Kestrel Outfitters mock API from my Agentic AI book series, so neither can see data the other can't. The endpoint server has 8 tools, one per route, returning raw JSON, with careful descriptions: a good wrapper, not a strawman. The task server has 5 tools (order status, return eligibility, ticket context, stock check, policy) that join records and apply the business rules in code. One agent loop runs both: the same system prompt, a 12-turn cap and a circuit breaker.
The 30 tasks are customer-support questions in five families: delivery status, return eligibility and refund approval, ticket triage, stock and policy facts. Some carry traps, such as a trade customer's 14-day return window or an outdated shipping policy that still sits in the policy list. Ground truth comes straight from the dataset, never through either server, and the agent answers through a strict submit_answer tool, so grading is exact comparison in code with no LLM judge. Claude Haiku 5.5 and Claude Sonnet 5.5 each ran every task three times on both designs: 360 episodes for USD 0.95 in total.
The efficiency half held up clearly. Task-shaped tools cut tool calls by about half (2.9 to 1.5 on Haiku, 3.3 to 1.4 on Sonnet), input tokens by 50 to 60 percent, median latency by roughly a third, and the cost of a correct answer by 2.6x on Haiku and 1.5x on Sonnet.
The accuracy half did not. Endpoint wrappers scored 100 percent on both models; task-shaped tools scored 99 percent on Haiku and 93 percent on Sonnet. Every miss was on the same two tasks, the only orders still in transit. My order_status tool dropped the late flag for undelivered orders and just said the order was promised in 2025 and still on its way. Sonnet read that as overdue and answered late every time, while the endpoint tool showed the stored late: false and the model repeated it. A task-shaped tool decides what the agent gets to know, and when it leaves a fact out, the model fills the gap with its own reading.
The code, the raw episodes and a longer write-up are in the ai-lab-code repository. Anyone can re-run the whole matrix offline for free with a scripted fake model, or live for about a dollar.