All articles

MCP tools, resources, and prompts: what each one does

Yapr4 min read
Table of contents

Ask an AI assistant to prepare a weekly project review, and it needs three different things: live project records, your company's definition of an at-risk milestone, and a consistent structure for the review itself.

MCP separates those jobs into three primitives: tools, resources, and prompts. In the usual pattern, the model chooses tools, the host application attaches resources, and the user picks prompts. Clients vary in how they surface each one, and none of the three overrides the permissions of the person signed in.

Tools do the work

A tool is a callable operation with a name and an input schema. The AI client discovers what tools are available, checks what arguments they expect, and requests a call.

In a fictional project tracker, one tool might fetch a project by ID, another might list its open tasks, and a third might move a due date. Notice that tools cover both reads and writes. Saying "the assistant has access to our project tool" tells you nothing about risk until you know which operations are enabled and which ones require confirmation.

For a project review, start with read tools and let the agent inspect the exact schema before guessing filter names. Even though the protocol describes tools as model-controlled, your host and MCP server still decide which tools appear and enforce approval before anything changes a record.

Resources supply addressable context

A resource exposes read-only context at a URI: a policy document, a runbook, a schema, or an application view. The client application decides how to include it, whether by letting a person attach it directly or passing it into context automatically.

In our fictional project review, a server could expose your company's risk-scoring policy as a resource, or use a resource template so a client can address documentation for a specific project ID. Supporting a template does not open every URI to every user; access rules still decide who can read which document.

Do not overthink the line between resources and read tools, either. Plenty of servers return documents through read tools instead of resources. Check what a server actually exposes rather than assuming every document must be a resource or every tool mutates data.

Prompts package a repeatable starting request

A prompt is a reusable message template, often with arguments the user fills in. As the official Python SDK prompts guide illustrates, a person selects a prompt, supplies a couple of values, and hands the resulting instructions to the model.

For our review, a prompt could ask for a project ID and review window, then tell the assistant to check upcoming milestones, unresolved dependencies, and recent scope changes.

One catch trips up new teams: loading a prompt only gives the model instructions. It does not fetch the project data on its own. The client still has to call the underlying read tools under the user's permissions.

How all three fit together

Here is how those pieces work side by side in a fictional project review. Actual names depend on the server you connect.

PrimitiveRole in the reviewWhat to verify
Tools (project and task reads)Pull live milestones, tasks, and ownersRight connection, valid filters, permissions, and full page coverage
Resource (risk-policy doc)Supply your team's definition of an at-risk projectRight document, current revision, and viewer access
Prompt (project-review template)Launch a consistent review for a chosen project and periodClear arguments and instructions

Suppose your policy says any unresolved dependency within five working days of a milestone needs attention. The read tools supply the live dependency dates. The resource supplies the five-day rule. The prompt tells the assistant to apply the rule and cite its evidence.

A good output keeps facts separate from suggestions: "Dependency D-14 is unresolved three days before the milestone" comes from a record; "Ask the owner to move the delivery date" is a recommendation for a human to review, never a silent edit.

Where skills fit in

Prompts work well for quick, single-message templates, while skills carry richer operating procedures, edge-case rules, and reference files. The MCP Skills Beta extension packages skill files on top of the Resources primitive, though client support varies by app.

In Yapr, app skills let teams attach reporting definitions and app conventions directly to connected systems. Like prompts, skills guide how the AI approaches a job; they never grant access or execute actions on their own.

Before building a workflow on a new MCP connection, inspect what the server actually exposes across tools, resources, prompts, and skills, and test how your client surfaces each one. For the bigger picture on connecting AI to company systems, see what MCP does for a business.

Keep reading

All articles