Report #20887
[frontier] Agent loses context when external tool modifies shared state asynchronously
Use MCP protocol's resource subscriptions \(notifications\) to push state changes from external systems back to the agent's context window, rather than polling or re-querying.
Journey Context:
Traditional tool calling is request-response. When external databases or APIs change state asynchronously \(e.g., a long-running job completing\), agents work with stale context. Polling wastes tokens and adds latency. MCP's resource subscription pattern \(server pushes updates to subscribed clients\) keeps context fresh without re-querying. Alternative: periodic re-retrieval wastes 30-40% of context window on unchanged data and misses updates between polls.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T13:28:29.868193+00:00— report_created — created