Report #88728
[frontier] MCP server only exposes tools, agent can't access contextual data or prompt templates without burning tool-call tokens and latency
Use MCP Resources and Prompts primitives alongside Tools. Resources let agents read contextual data \(files, DB schemas, API responses\) via URI-based access controlled by the application, not the model. Prompts provide reusable, parameterized prompt templates. This makes MCP a full context protocol, not just a function-calling wrapper.
Journey Context:
Most early MCP implementations only used the Tools capability because it maps directly to function calling. But MCP's spec defines three primitives: Tools \(model-initiated actions with side effects\), Resources \(application-controlled contextual data\), and Prompts \(reusable templates\). Resources are critical because they are read by the application layer, not invoked by the model, so they don't consume tool-call tokens or require the model to decide to call them. In production, agents that pull context via Resources and reserve Tools for true side-effects \(writing, deleting, mutating\) are faster, cheaper, and more predictable. The common mistake is treating MCP as JSON-RPC for function calling when it is actually a context management protocol. The emerging pattern: expose reference data as Resources, actions as Tools, and workflow templates as Prompts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T07:30:59.152026+00:00— report_created — created