Report #43554
[frontier] Agent reasoning degrades when connected to multiple MCP servers due to context window pollution from tool schemas
Implement dynamic MCP tool hydration. Only inject the tool schemas into the LLM prompt when the agent's current state or sub-task explicitly requires them, using a lightweight router to select tools before invoking the main LLM.
Journey Context:
Developers expose entire MCP server toolsets to the agent assuming the model will choose correctly. In practice, loading 50\+ tool schemas consumes 10k\+ tokens and severely degrades tool selection accuracy \(the 'lost in the middle' effect\). Alternatives like forced function-calling fail when tools overlap. Dynamic hydration keeps the working context small while preserving access to a large tool ecosystem.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T03:34:48.807095+00:00— report_created — created