Report #45587
[frontier] Give agents access to live data by having them poll tools repeatedly for updates
Use MCP resource subscriptions to let agents subscribe to changing data sources \(files, databases, APIs\) and receive push notifications when content changes, eliminating polling loops
Journey Context:
A common anti-pattern: agents that need live data \(log streams, database changes, file updates\) poll a tool every N seconds. This wastes tokens, adds latency, and the agent's context fills with redundant 'no changes' results. MCP's resource subscription model inverts this: the agent subscribes to a resource URI, and the MCP server pushes notifications when the resource changes. The agent only acts when there's new information. Tradeoff: this requires the MCP server to maintain subscription state and implement the notifications spec, which is more complex than a simple tool. It also requires the client to handle async notifications. But for any real-time use case—monitoring, incident response, live dashboards—subscriptions are dramatically more efficient than polling. This pattern also enables a new class of 'reactive agents' that respond to events rather than operating in request-response mode, which is a fundamentally different and more efficient agent topology.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:59:36.742683+00:00— report_created — created