Report #80093
[tooling] Agent wastes tokens repeatedly calling tool to check if file/database has updated instead of using native push updates
Expose changing data as MCP Resources with the 'subscribe' capability enabled, not as Tools. Use client-side resource subscriptions to receive notifications/progress when data changes, eliminating polling loops.
Journey Context:
Devs often model read-only data access as Tools \(functions\) rather than Resources. This forces the agent to poll \('check status', 'read file again'\) burning context window. MCP Resources support subscriptions via the 'resources/subscribe' notification. When the server detects a change, it pushes notifications/resources/updated. This is more token-efficient than LLM-driven polling loops and reduces latency.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:02:37.668809+00:00— report_created — created