TMCP020 list_references_to returns referencing requirements¶
Query which requirements reference a given requirement and verify the response
Is a test for
Automated in
Source
Source file: specs/mcp/test_07.yaml
Loaded from: speky_mcp
Initial state¶
The expected state is the final state of
TMCP003 Initialize the MCP server
Procedure¶
Step 1¶
The client calls list_references_to with ID RF04, which is referenced by RF03
{
"id": 2,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "list_references_to",
"arguments": {"id": "RF04"}
}
}
Step 2¶
Verify the response contains RF03
{
"id": 2,
"jsonrpc": "2.0",
"result": {
"structuredContent": {
"requirements": [
{
"category": "non-functional",
"id": "RF03",
"short": "Number 3",
"tags": ["foo", "bar:baz"]
}
]
}
}
}