Skip to content
{mcpdesc}

Supply the Prompt arguments the example requires

A Prompt example supplies every required argument and no undeclared argument. Check names against the containing Prompt, including when the example comes from a reusable component. Omitted optional arguments do not need placeholder values.

A Prompt example supplies every required Prompt argument and no undeclared argument.

Rule ID: mcpdesc.prompt.example.arguments
Owner: mcpdesc
Surface: Prompt example · Path: arguments
Kind: mcpdesc-semantic
Requirement level: must
Protocol versions: independent of the MCP protocol version
Status: internal · Enforcement: internal

Source: expected-valid/named-prompt-examples.json · Selected: /prompts/2

{
"name": "city_briefing",
"protocolVersions": [
"2026-07-28"
],
"arguments": [
{
"name": "city",
"required": true
},
{
"name": "audience"
}
],
"examples": {
"paris-engineering": {
"arguments": {
"city": "Paris",
"audience": "engineering"
},
"result": {
"resultType": "complete",
"description": "Engineering briefing for Paris",
"messages": [
{
"role": "user",
"content": {
"type": "text",
"text": "Summarize current engineering considerations for Paris."
}
},
{
"role": "assistant",
"content": {
"type": "resource_link",
"uri": "briefing://paris/engineering",
"name": "Paris engineering briefing",
"mimeType": "text/markdown"
}
}
]
}
}
}
}

Source: expected-invalid/invalid-prompt-example-semantics.json · Selected: /prompts/0/examples/unknown-and-missing/arguments

{
"audience": "engineering",
"rogue": "oops"
}

Source: expected-invalid/component-contextual-examples.json · Selected: /components/promptExamples/bad-arguments

{
"arguments": {
"rogue": "oops"
},
"result": {
"resultType": "complete",
"messages": [
{
"role": "user",
"content": {
"type": "text",
"text": "Hello."
}
}
]
}
}

prompt.yaml at immutable tag v0.9.0-rc.3.