Report #36729
[frontier] MCP tools lose state between calls causing repetitive context stuffing and high latency in multi-step operations
Use MCP Resource Subscriptions with Server-Sent Events \(SSE\) to establish stateful channels where tools push live deltas to agents, eliminating polling loops
Journey Context:
The 2024 mistake was treating MCP as a REST wrapper—agents poll tools repeatedly, burning context windows on unchanged data. The 2025 spec introduces bi-directional streaming via HTTP with SSE. Instead of 'call tool->get result->rebuild context,' agents subscribe to resources \(e.g., 'database\_table\_x'\) and receive push updates only when state changes. This mirrors React's state management but for agent tools. Tradeoff: requires persistent connections and tools to support stateful mode, but eliminates the 'context window tax' of polling. Critical distinction: this is pub/sub for tool state, not just function calling.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T16:07:33.680110+00:00— report_created — created