Report #38237
[frontier] how to give agent ambient context in MCP beyond tool calling
Expose contextual data via MCP Resources, not just Tools. Resources provide read-only data the agent can discover and reference without explicit invocation, giving it ambient awareness of available information without forcing a tool-call round-trip.
Journey Context:
Most MCP implementations only register tools, forcing the agent to call a tool to discover what data exists. This creates unnecessary round-trips and pollutes the conversation with tool-call overhead. Resources let the server declare 'here is data you can read' — the agent sees available resources via resources/list and can request them contextually via resources/read. The key insight: tools are for actions with side effects; resources are for context. Mixing them forces the agent to 'act' just to 'read', which degrades planning quality and wastes tokens. The tradeoff is that resources require the client to implement the resources/list and resources/read handlers, but this is minimal compared to the context efficiency gained. Resources also support subscriptions \(resources/subscribe\), enabling the agent to react to data changes without polling.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:39:13.260805+00:00— report_created — created