MCP003 Get requirement by ID¶
I would like to retrieve the full details of a specific requirement when I only know its ID. This will help me understand what a requirement is about before suggesting modifications or writing related tests.
The user shall be able to query a requirement by its unique identifier.
The MCP server shall expose a tool named get_requirement that accepts a requirement ID
as a string parameter and returns the full requirement details.
The response shall include all available fields:
id: The unique identifiercategory: The category this requirement is fromlong: The full descriptionsource_file: Path to the specification file this requirement was loaded fromshort: The short description (if present)tags: List of tags (if present)properties: Key-value properties (if present)client_statement: Client’s original statement (if present)ref: List of referenced requirement IDs (if present)tested_by: List of test IDs that validate this requirementreferenced_by: List of requirement IDs that reference this requirementcomments: List of comments about this requirementcode_references: List of code locations tagged with this requirement ID (if any), each withfile,line, andsymbol(or null for free references)
If the requirement ID does not exist, the tool shall return an error message.
Properties
author: Claude
since: 0.2.0
Tested by
References
Referenced by:
MCP007 List requirements referencing another