Skip to main content
Tools & MCP

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.

The CertGrove team · 5 min read

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:

PrimitiveControlled byWhat it isTypical examples
ToolsThe modelExecutable functions the model can call to take actions or fetch informationcreate_ticket, process_refund, run_query
ResourcesThe application (client)Data identified by a URI that the client attaches as contextFile contents, git history, a database schema, a docs index
PromptsThe userReusable templates the user picks explicitlySlash 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:

  1. 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.
  2. Look for side effects. Anything that changes state is a tool. Resources are for reading.
  3. 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.
  4. 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-categories that support staff can run.
  • D) Merge search_articles with 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

The CertGrove teamBilingual study notes for developers preparing for Claude Certified Architect — Foundations.