# `TMCP020` list_references_to returns referencing requirements Query which requirements reference a given requirement and verify the response :::{dropdown} Is a test for :open: :icon: check-circle-fill :color: primary [`MCP007` List requirements referencing another](/requirements/MCP007) ::: :::{dropdown} Automated in :open: :icon: check-circle-fill :color: success {fab}`python` [`test_list_references_to_one`](https://github.com/agagniere/speky/blob/master/tests/test_mcp_server.py#L556) ::: :::{dropdown} Source :icon: file-code :color: info __Source file__: [`specs/mcp/test_07.yaml`](https://github.com/agagniere/speky/blob/master/specs/mcp/test_07.yaml) __Loaded from__: [`speky_mcp`](https://github.com/agagniere/speky/blob/master/specs/mcp/mcp.toml) ::: ## Initial state The expected state is the final state of [`TMCP003` Initialize the MCP server](/tests/TMCP003) ## Procedure ### Step 1 The client calls `list_references_to` with ID `RF04`, which is referenced by `RF03` ```json { "id": 2, "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "list_references_to", "arguments": {"id": "RF04"} } } ``` ### Step 2 Verify the response contains RF03 ```json { "id": 2, "jsonrpc": "2.0", "result": { "structuredContent": { "requirements": [ { "category": "non-functional", "id": "RF03", "short": "Number 3", "tags": ["foo", "bar:baz"] } ] } } } ```