Report #22357
[tooling] Agent works with stale data because it doesn't know when to refresh
Implement \`resources/subscribe\` method and push \`notifications/resources/updated\` to the client when data changes, instead of making the agent poll resources.
Journey Context:
Without subscriptions, agents must either poll resources repeatedly \(wasting tokens\) or work with potentially stale data from initial reads. The MCP specification supports a subscription model where the client requests \`resources/subscribe\` for a specific URI, and the server later pushes \`notifications/resources/updated\` or \`list\_changed\` when the underlying data changes. This is essential for reactive agents monitoring logs, stock prices, or file changes. Most implementations skip this because it requires maintaining subscription state and async capabilities, but it's the only way to build real-time agents without aggressive polling.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T15:56:05.565712+00:00— report_created — created