TMCP035 test_plan_coverage errors on unknown category

The user shall receive a tool execution error when filtering by a category that does not exist in the loaded specifications.

Is a test for
Automated in
Source

Source file: specs/mcp/test_10.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 test_plan_coverage with a non-existent category

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

Step 2

Verify a tool execution error is returned indicating the category was not found

{
  "id": 2,
  "jsonrpc": "2.0",
  "result": {
    "isError": true,
    "structuredContent": {
      "error": "Category 'nonexistent' not found"
    }
  }
}