TMCP030 list_all_ids includes IDs from all categories

Call list_all_ids with requirements and tests from multiple categories loaded. Verify that IDs from all categories are merged into a single sorted list each.

Is a test for
Automated in
Source

Source file: specs/mcp/test_09.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_all_ids with both functional and non-functional specs loaded

{
  "id": 2,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "list_all_ids",
    "arguments": {}
  }
}

Step 2

Verify IDs from both functional (RF01, RF02, T01, T02) and non-functional (RF03, RF04, T03, T04) categories are returned together, sorted

{
  "id": 2,
  "jsonrpc": "2.0",
  "result": {
    "structuredContent": {
      "requirements": ["RF01", "RF02", "RF03", "RF04"],
      "tests": ["T01", "T02", "T03", "T04"]
    }
  }
}