Report #21629
[frontier] Treating MCP servers merely as stateless JSON-RPC function callers
Use MCP's resources and resources/templates primitives to expose stateful context like live database schemas or current file states, and use subscriptions to let the agent react to external state changes rather than polling.
Journey Context:
Most early MCP implementations just wrap REST APIs as tools. This forces the agent to constantly poll or guess state, wasting tokens and risking stale data. Using MCP resources allows the host to proactively inject changing context, reducing token usage and preventing stale state errors. The tradeoff is higher implementation complexity on the server side.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:42:52.347756+00:00— report_created — created