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.
Requirement
Section titled “Requirement”A Prompt example supplies every required Prompt argument and no undeclared argument.
Details
Section titled “Details”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
Required by
Section titled “Required by”- MCP Description 0.9.0, Section 11.3
- 11. Prompts: req-prompt-example-arguments
Based on
Section titled “Based on”- Tier 1 — MCP schema.ts and normative specification text: MCP 2024-11-05 to 2026-07-28 schema.ts, interface PromptArgument, required (“Whether this argument must be provided”)
Examples
Section titled “Examples”Valid example
Section titled “Valid example”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" } } ] } } }}Invalid example
Section titled “Invalid example”Source: expected-invalid/invalid-prompt-example-semantics.json · Selected: /prompts/0/examples/unknown-and-missing/arguments
{ "audience": "engineering", "rogue": "oops"}Invalid example
Section titled “Invalid example”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." } } ] }}Rule Source Code
Section titled “Rule Source Code”prompt.yaml at immutable tag v0.9.0-rc.3.