TMCP047 least_tested_requirements filtered by tag

Call least_tested_requirements with a tag filter and verify only tagged requirements appear

Is a test for
Automated in
Source

Source file: specs/mcp/test_12.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 least_tested_requirements with tag foo

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

Step 2

Verify only RF03 is returned, as it is the only requirement tagged with foo

{
  "id": 2,
  "jsonrpc": "2.0",
  "result": {
    "structuredContent": {
      "requirements": [
        {"id": "RF03", "category": "non-functional", "short": "Number 3", "test_plans": 2, "automated_test_plans": 1}
      ]
    }
  }
}