Ch 6 — Prompts: Reusable Workflows
User-controlled templates that structure how the model approaches a task
High Level
-
Click play or press Space to begin...
AWhat Are Prompts?Reusable message templates exposed by servers
1chat
PromptPre-built message
sequence template
defines
format_list_numbered
MessagesSystem + user
message sequence
with
2tune
ArgumentsParameters the
user fills in
3arrow_downward The control spectrum: who triggers prompts?
BUser-ControlledThe user explicitly selects which prompt to use
person
User SelectsPicks a prompt
from a menu
fills
edit_note
ArgumentsProvides required
parameter values
sends
smart_toy
LLMReceives structured
messages
4arrow_downward Real-world examples of prompts
CPrompt ExamplesCommon workflows servers can expose as prompts
rate_review
review-prCode review
a pull request
compare
explain-diffExplain what
a diff changes
5bug_report
debug-errorAnalyze an error
with context
6arrow_downward Prompts can embed resources for rich context
DPrompts + ResourcesPrompts can include embedded resource content in messages
chat
PromptTemplate with
instructions
includes
attach_file
ResourceFile contents,
data, images
becomes
forum
Rich MessagesText + resources
in conversation
7arrow_downward Discovery: how the host presents prompts to the user
EDiscovery & PresentationHow the host surfaces prompts to the user
search
prompts/listServer lists
available prompts
shown as
menu
Slash Commands/ menu in the
chat interface
or
widgets
Quick ActionsButtons, menus,
keyboard shortcuts
8arrow_downward Prompts vs tools vs resources: the complete picture
FThe Three PrimitivesPrompts complete the MCP primitive trio
chat
PromptsUser-controlled
workflow templates
+
description
ResourcesApp-controlled
context data
+
build
ToolsModel-controlled
actions