AI Learning Hub › Learn AI › Self-Paced Courses › MCP Without the Mystery › Use a Server-Provided Prompt

Module 4 ยท Beginner

Use a Server-Provided Prompt

Supply a required argument, retrieve the resulting prompt content, and see why retrieving a prompt does not itself run an AI model.

By the end

  • Explain what an MCP prompt is in ordinary language
  • Distinguish a server-provided prompt from a tool or resource
  • Supply a required prompt argument
  • Retrieve the resulting prompt content through MCP Inspector
  • Explain why retrieving a prompt does not itself run an AI model

A prompt is neither a tool nor a resource

So far, you have used two kinds of capability: a tool, which performed a search, and a resource, which returned identified information.

The Practice Resource Desk exposes a third kind: plan_a_research_session.

This is an MCP prompt. It provides a reusable way to structure a request.

It does not search the fictional collection. It does not return the overview resource. And it does not, by itself, ask an AI model to answer anything.

Retrieving a prompt is not running AI

Inspector can ask the MCP server for the prompt content without sending that content to a language model.

In this module, you are inspecting the template and its filled-in result.

No model will generate an answer.

Three words to learn

Prompt

A reusable prompt template an MCP server makes available.

Argument

Information supplied to fill in part of a prompt template.

Template

A reusable structure with parts that can be filled in for a particular use.

Step 1 — See what the server offers

Start the Inspector and connect to practice-resource-desk as before, then click the Prompts tab.

One prompt is listed. Click Plan a research session, then stop — do not retrieve it yet.

Read the panel before you go further

  • Its readable title: Plan a research session
  • Its description: a reusable template for turning a topic into a short research plan, using only the desk’s fictional resources
  • A section headed Arguments, holding one entry
  • That entry is labeled topic, followed by a red asterisk
  • A button labeled Get Prompt, currently grayed out

The technical name is not on screen here. On the Tools tab, the Inspector showed both Search resources and search_resources. On the Prompts tab it shows only the readable title, so you will not see plan_a_research_session anywhere in this view. It is still the name the server uses.

The prompt has a blank to fill in

plan_a_research_session is reusable because part of it is left open. The prompt expects a topic.

The topic is an argument: information supplied to fill in part of the template.

The red asterisk marks it as required, and the Inspector enforces that before anything is sent — Get Prompt stays grayed out and unclickable until you type something into the field. This is the same pattern you saw with Execute Tool in Module 2.

Step 2 — Supply the topic

Type source evaluation into the field, which shows the placeholder Enter topic…

Stop before clicking anything. Ask yourself two questions:

Notice how little you contributed, and how much the server decided.

Step 3 — Ask the server for the filled-in prompt

Click Get Prompt, which is now enabled.

The form is replaced by a panel headed Messages:

MCP Inspector on the Prompts tab. The left column lists one prompt, Plan a research session, with its description. The panel beside it is headed Messages and contains a small monospace line reading bracket zero role colon user, followed by the filled-in prompt text beginning I want to plan a short research session on colon source evaluation, then an instruction to use only the fictional resources available from the Practice Resource Desk, then a numbered list of four requested steps.
The prompt the server returned, with source evaluation filled into it. Nothing has answered it. Open full-size image: the retrieved prompt (opens in a new tab)

The returned prompt begins:

What the server returns

I want to plan a short research session on: source evaluation

Use only the fictional resources available from the Practice Resource Desk.

Please:
1. Search the desk for resources related to this topic.
2. Tell me which ones look relevant and why.
3. Suggest an order to use them in.
4. Say plainly what the desk does not cover, rather than filling the gap.

Above that text sits a short line reading [0] role: user. Inspector shows how this content would be presented as part of a prompt. You do not need to memorize the technical structure yet.

To go back to the form and try a different topic, click the × beside Messages.

What happened?

  1. You selected a prompt the server exposes.
  2. You supplied the topic source evaluation.
  3. Inspector requested the prompt from the Practice Resource Desk.
  4. The server filled the topic into its reusable template.
  5. Inspector displayed the resulting prompt content.

Nothing answered the prompt. No AI model was involved. What you are looking at is a request that has been written but not sent — a question composed, not asked.

Tool, resource, or prompt?

Tool

“Do this piece of work.”

search_resources

You provide a search term and the server performs the search.

Resource

“Give me this identified information.”

practice://resource-desk/overview

You request information the server exposes.

Prompt

“Give me this reusable request structure, filled in for my situation.”

plan_a_research_session

You supply a topic and receive the filled-in prompt content.

All three can return text. What matters is the kind of capability you asked the server to provide.

What to notice

The server supplied structure; you supplied context.

plan_a_research_session was reusable because the topic could change while the overall prompt structure stayed the same.

You retrieved a prompt, but you did not run the prompt through an AI model. That distinction becomes important when MCP is connected to an AI application later in the tutorial.

It is worth reading what came back on its own terms. The text you retrieved contains instructions — it tells a model what to do, what to use, and what not to invent. Before using a server-provided prompt with an AI model, it is worth reading what the server actually returned.

Checkpoint

You are ready for Module 5 if you can: