MCP Tools vs Resources vs Prompts: What Is the Difference?
Who controls each MCP primitive, when to use tools, resources or prompts, a comparison table, and how to spot the right answer in exam scenarios.
An MCP server can expose three kinds of things: tools, resources and prompts. Scenario questions on the CCAR-F exam often hinge on picking the right one, and the answer options can look almost identical. The quickest way to sort them is to ask one question: who decides when this thing gets used?
MCP tools vs resources vs prompts: the control model
The MCP specification on modelcontextprotocol.io groups the three server primitives by who controls them:
| Primitive | Controlled by | What it is | Typical examples |
|---|---|---|---|
| Tools | The model | Executable functions the model can call to take actions or fetch information | create_ticket, process_refund, run_query |
| Resources | The application (client) | Data identified by a URI that the client attaches as context | File contents, git history, a database schema, a docs index |
| Prompts | The user | Reusable templates the user picks explicitly | Slash commands, menu entries like "Summarize this PR" |
That column in the middle is what the exam tests. If a scenario says "the agent should decide on its own to look this up", you want a tool. If it says "the agent needs to know what data exists before it starts", a resource is usually the better fit. If it says "users want a one-click shortcut for a common request", that is a prompt.
Tools: when the model should decide and act
The client discovers them with tools/list and Claude calls them with tools/call. Each tool has a name, a description and an input JSON schema. Claude reads the description to decide whether and when to call it, which is why tool descriptions carry so much weight.
Use a tool when:
- the operation has side effects (writing a file, issuing a refund, posting a comment), or
- the operation needs parameters that the model works out mid-task (a customer ID it just found, a date range from the conversation).
Tools also return failures in a structured way. The isError flag in a tool result tells the agent the call failed, so it can retry, try something else or escalate, rather than treating an error message as valid data.
Resources: when the application supplies context
Resources are read-only content addressed by URI, such as file:///repo/README.md or schema://warehouse/orders. The client lists them with resources/list, reads them with resources/read, and can subscribe to updates. Servers can also publish resource templates with URI parameters.
The application decides what to attach, whether through a picker, automatic inclusion or its own heuristics. The model is not the one pulling the trigger.
The exam guide names a specific use: exposing content catalogs (issue summaries, documentation hierarchies, database schemas) as resources so the agent can see what data is available without making exploratory tool calls. Picture an agent that calls list_tables, then describe_table six times before writing one query. Exposing the schema as a resource removes that whole discovery phase.
Prompts: when the user picks a workflow
Prompts are templates with optional arguments. The client finds them with prompts/list and fetches a filled-in version with prompts/get, which returns a list of messages ready to send to the model. In Claude Code, prompts from MCP servers show up as slash commands.
Use a prompt when a person, not the model, should start a known workflow: "review this diff against our security checklist" or "draft release notes for version X". The prompt packages the instructions so every user gets the same, tested wording.
A prompt does not execute anything by itself. If the workflow needs to call an API, the prompt sets up the conversation and the model then uses tools to do the work.
How to tell similar scenario answers apart
Distractors in this area usually describe a reasonable feature placed in the wrong primitive. Some checks that help:
- Look for the trigger. "The agent decides" means tool. "The app attaches" or "visible up front" means resource. "The user chooses" or "slash command" means prompt.
- Look for side effects. Anything that changes state is a tool. Resources are for reading.
- Look for exploration waste. If the problem is that the agent burns many calls just finding out what exists, the fix is a resource catalog, not a better search tool.
- Don't let "prompt" fool you. A system prompt instruction and an MCP prompt are different things. An MCP prompt is a server-provided template the user invokes.
Try it
A team builds an internal MCP server for a support agent backed by a large knowledge base. Logs show the agent often makes 5–8 search_articles calls at the start of each conversation just to work out which product categories and article collections exist. What change best addresses this?
- A) Add a system prompt instruction telling the agent to limit itself to two searches per conversation.
- B) Expose the category and collection index as an MCP resource the client attaches as context.
- C) Add an MCP prompt called
/browse-categoriesthat support staff can run. - D) Merge
search_articleswith every other tool into one general-purpose tool.
Answer: B. The agent lacks visibility into what content exists, and the exam guide calls out resources for exactly that: catalogs that cut down exploratory tool calls.
- A caps behavior without giving the agent the information it is missing, so it searches less but guesses more.
- C depends on a human remembering to run a command, and the agent itself still has no map of the content.
- D makes tool selection harder and does nothing about discovery.
Key takeaways
- Tools are model-controlled, resources are application-controlled, prompts are user-controlled.
- Anything with side effects or parameters the model decides at runtime belongs in a tool.
- Expose catalogs and schemas as resources so the agent skips exploratory calls.
- MCP prompts are user-invoked templates (slash commands in Claude Code), not system prompts.
Frequently asked questions
No. Resources are content the client reads by URI. If something needs to change state or run with arguments the model picks, make it a tool.
No. A system prompt is set by the application for every request. An MCP prompt is a template the server offers and the user chooses to invoke, for example as a slash command.
Not by design. The client reads resources and decides what goes into context, so in exam scenarios treat them as context the application supplies.
For more on wiring MCP servers into an agent, see the agent loop guide and the study roadmap. Practice Domain 2 scenarios to check you can spot the right primitive under time pressure.