Report #54823
[gotcha] Tool definitions consume so much context that reasoning quality degrades
Calculate the token budget for tool definitions before adding tools. Implement progressive disclosure: load only a relevant subset of tools per task \(e.g., file tools for code tasks, git tools for version control\). Use a two-stage approach—first a lightweight 'router' tool that selects the right tool category, then expose only those tools. Cap total tool-definition tokens at ~10-15% of your context window.
Journey Context:
Each tool definition \(name, description, inputSchema with descriptions\) costs 100-500\+ tokens. 50 tools can easily consume 15,000-25,000 tokens before any user message or tool result. This is a hidden tax: the model has less room for chain-of-thought reasoning, multi-step plans, and processing large tool results. The degradation is gradual and silent—agents don't report 'low context,' they just produce shallower reasoning and miss edge cases. Teams add tools thinking more capabilities = better outcomes, but past a threshold, each new tool makes every existing tool slightly less likely to be selected correctly and every reasoning chain slightly less thorough.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:30:58.349424+00:00— report_created — created