A Prompt has a name, and each argument has a name. Both accept only the properties of their Section 11 tables, each with its defined type.
Requirement
Section titled “Requirement”Prompt and Prompt Argument Objects have their required fields, defined property types, and no unknown properties.
Details
Section titled “Details”Rule ID: mcpdesc.prompt.members
Owner: mcpdesc
Surface: Prompt, PromptArgument
Kind: structural
Requirement level: must
Protocol versions: independent of the MCP protocol version
Document schema locations: #/$defs/prompt, #/$defs/promptArgument
Status: internal · Enforcement: internal
Required by
Section titled “Required by”- MCP Description 0.9.0, Sections 11.1 and 11.2
- 11. Prompts: req-prompt-fields
-
- Prompts: req-prompt-argument-fields
-
- Tags: req-entity-tags-shape
-
- Tags: req-entity-tags-unique
Examples
Section titled “Examples”Invalid example
Section titled “Invalid example”Source: expected-invalid/empty-ordinary-nested-collections.json · Selected: /prompts/0/arguments
[]Rule Source Code
Section titled “Rule Source Code”prompt.yaml at immutable tag v0.9.0-rc.3.