Report #85985
[gotcha] MCP tool definitions silently consume a large fixed fraction of the context window before any user message is sent
Audit the total token cost of all tool schemas before deployment. Keep each tool description under 100 tokens. Use abbreviated parameter names and omit enum lists when the model can infer valid values. Implement tool grouping and load only the subset needed for the current task. Target under 3K tokens total for all active tool definitions.
Journey Context:
Every tool's full JSON schema—name, description, and inputSchema with all properties, descriptions, and enums—is sent with every API call, not just when the tool is invoked. With 30\+ MCP tools, this easily consumes 10–20K tokens as a fixed overhead paid on every turn. Developers add verbose descriptions to improve tool selection accuracy, creating a vicious cycle: more tools need more description, which consumes more context, which degrades all model performance including tool selection itself. The counter-intuitive insight is that removing detail from tool definitions often improves agent reliability because the recovered context window improves reasoning across the board.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:54:32.002581+00:00— report_created — created