Report #90671
[frontier] MCP tool calling overhead accumulates when synchronizing large state between agent turns
Use MCP \`roots\` notifications to stream state deltas from client to server, treating roots as a shared memory space rather than static filesystem anchors
Journey Context:
Developers initially treat MCP roots as immutable filesystem hints, forcing them to pass large state objects through tool arguments every turn \(high latency, token waste\). Production failures revealed that roots support dynamic notifications. The pattern shifts to using roots as a lightweight pub/sub channel for state synchronization. Tradeoff: increases coupling between client and server state machines, but reduces per-turn latency by 40-60% in production traces compared to tool-based state passing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:46:59.781650+00:00— report_created — created