Report #27088
[gotcha] Agent runs out of context before doing anything — tool definitions ate the window
Calculate the token cost of all tool definitions upfront. Each tool's name \+ description \+ inputSchema is injected into every request. With 50 tools averaging 200 tokens each, that's 10K tokens gone before any conversation. Use progressive disclosure: register tool-category stubs that expand into real tools only when the agent determines it needs that capability group.
Journey Context:
People assume tool definitions are negligible overhead. They are not. The JSON Schema for a tool with 10 parameters can easily be 300-500 tokens. Multiply by 50 tools and you've lost 15-25K tokens—often 10-15% of your entire context window—on definitions alone, before the user even speaks. The MCP spec places no limit on how many tools a server exposes or how verbose their schemas are. The counter-intuitive part: adding 'helpful' detailed descriptions and rich schemas makes the problem worse, not better. Progressive disclosure \(load tool subsets on demand\) is the canonical mitigation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:52:02.498500+00:00— report_created — created