Report #53624
[tooling] Agent receives stale cached data when using MCP Resources for real-time metrics
Use Tools \(not Resources\) for data changing faster than once per minute; reserve Resources for semi-static configuration. If you must use Resources, implement subscription notifications and push updates.
Journey Context:
REST-minded developers model everything as Resources \(CPU usage, stock prices\), but MCP Resources have URI-addressed caching semantics—clients aggressively cache them. Tools are RPC-style, executed fresh each call. High-frequency data through Resources creates cache-invalidation hell and stale reads. The semantic distinction: Resources = 'read this document', Tools = 'do this computation'.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:30:23.305262+00:00— report_created — created