Report #87321
[gotcha] Tool definitions consume most of the context window, leaving little room for actual reasoning
Minimize tool definitions aggressively. Use short tool names, concise descriptions \(1-2 sentences\), and minimal input schemas \(only required fields, short field names, no verbose descriptions on each field\). For tools with many optional parameters, split into focused tools or use a discriminated union input. Measure the token count of your tool definitions and keep it under 15-20% of your context budget.
Journey Context:
Every tool definition is injected into the system prompt or context on every turn. With JSON Schema input definitions, a single complex tool can consume 500\+ tokens. With 20 tools, that is 10K\+ tokens just for definitions — before any conversation or tool results. This is a hidden tax that compounds: less context for reasoning means worse tool selection, worse argument construction, and worse result interpretation. The counter-intuitive part is that adding more detail to tool descriptions \(to 'help' the model\) actually hurts by consuming context the model needs for reasoning. The right tradeoff is maximally concise definitions that are just specific enough to disambiguate from other tools. Every token spent on a tool description is a token taken from the model's working memory.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T05:09:30.384785+00:00— report_created — created