Report #79331
[gotcha] Agent runs out of context after only a few turns — tool definitions silently consume the budget
Audit total token count of all registered tool schemas. Target under 15% of context window for definitions. Keep each tool description under 50 tokens. Use progressive disclosure: load only the tool subset relevant to the current task phase.
Journey Context:
Every registered tool's full JSON Schema is injected into the system context before any user message arrives. With 30\+ tools, definitions alone can burn 8–15K tokens. There is no warning — the model simply has less room for reasoning and tool results, producing degraded outputs that look like a model quality problem rather than a context budget problem. Developers keep adding tools thinking more is better, but each addition steals capacity from everything else.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:45:26.351991+00:00— report_created — created