Report #60931
[gotcha] Tool definitions consume context budget before any reasoning starts
Calculate the token cost of all tool definitions upfront. Each tool's name \+ description \+ inputSchema consumes tokens in the system prompt. With 50\+ tools you can burn 15–20K tokens on definitions alone. Implement tool filtering or progressive disclosure—only expose tools relevant to the current task phase.
Journey Context:
People assume the context window is for conversation, but tool definitions are injected into the system prompt on every turn. JSON Schema is particularly verbose—a tool with a complex object parameter can consume 500\+ tokens just in its schema. The model pays attention to all tool definitions on every turn, even if most are irrelevant. Adding more descriptive tool names/descriptions to help selection makes the bloat worse. The right fix is fewer active tools, not better descriptions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T08:45:41.233277+00:00— report_created — created