# `TMCP029` list_all_ids returns all requirement and test IDs sorted Call list_all_ids and verify the response contains all IDs in two sorted lists :::{dropdown} Is a test for :open: :icon: check-circle-fill :color: primary [`MCP009` List all IDs](/requirements/MCP009) ::: :::{dropdown} Automated in :open: :icon: check-circle-fill :color: success {fab}`python` [`test_list_all_ids`](https://github.com/agagniere/speky/blob/master/tests/test_mcp_server.py#L709) ::: :::{dropdown} Source :icon: file-code :color: info __Source file__: [`specs/mcp/test_09.yaml`](https://github.com/agagniere/speky/blob/master/specs/mcp/test_09.yaml) __Loaded from__: [`speky_mcp`](https://github.com/agagniere/speky/blob/master/specs/mcp/mcp.toml) ::: ## Initial state An initialized MCP server with only the simple requirements, tests and comments loaded ## Procedure ### Step 1 The client calls `list_all_ids` with no arguments ```json { "id": 2, "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "list_all_ids", "arguments": {} } } ``` ### Step 2 Verify the response contains all requirement and test IDs in separate sorted lists ```json { "id": 2, "jsonrpc": "2.0", "result": { "structuredContent": { "requirements": ["RF01", "RF02"], "tests": ["T01", "T02"] } } } ```