TMCP011 search_requirements returns all when unfiltered

The user shall be able to call search_requirements with no filters and receive all requirements in the loaded specifications.

Is a test for
Automated in
Source

Source file: specs/mcp/test_05.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 search_requirements with no arguments

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

Step 2

Verify all requirements are returned

{
  "id": 2,
  "jsonrpc": "2.0",
  "result": {
    "structuredContent": {
      "requirements": [
        {"category": "functional", "id": "RF01"},
        {"category": "functional", "id": "RF02", "short": "Second"},
        {"category": "non-functional", "id": "RF03", "short": "Number 3", "tags": ["foo", "bar:baz"]},
        {"category": "non-functional", "id": "RF04"}
      ]
    }
  }
}