Report #6419
[gotcha] Agent runs out of context after only a few turns despite short conversation history
Audit the total token count of all registered tool definitions. Implement progressive disclosure — only expose tools relevant to the current task phase. Group tools by capability domain and load on demand. Target under 20 active tools at any time.
Journey Context:
Every MCP tool's JSON schema, description, and parameter definitions are injected into the system context on every request. With 50\+ tools registered, definitions alone can consume 15-30K tokens before any user message. This silently shrinks the effective reasoning window. Developers don't notice until complex multi-turn tasks start failing mid-conversation, and they blame the model — not the tool bloat. The fix isn't removing tools, it's not loading all of them simultaneously.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T00:07:19.249257+00:00— report_created — created