# `TMCP034` test_plan_coverage filtered to category with no gaps Call test_plan_coverage filtered by a category where all requirements have tests :::{dropdown} Is a test for :open: :icon: check-circle-fill :color: primary [`MCP010` Get test plan coverage for requirements](/requirements/MCP010) ::: :::{dropdown} Automated in :open: :icon: check-circle-fill :color: success {fab}`python` [`test_test_plan_coverage_no_gaps`](https://github.com/agagniere/speky/blob/master/tests/test_mcp_server.py#L642) ::: :::{dropdown} Source :icon: file-code :color: info __Source file__: [`specs/mcp/test_10.yaml`](https://github.com/agagniere/speky/blob/master/specs/mcp/test_10.yaml) __Loaded from__: [`speky_mcp`](https://github.com/agagniere/speky/blob/master/specs/mcp/mcp.toml) ::: ## Initial state The expected state is the final state of [`TMCP003` Initialize the MCP server](/tests/TMCP003) ## Procedure ### Step 1 The client calls `test_plan_coverage` with category `functional` ```json { "id": 2, "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "test_plan_coverage", "arguments": {"category": "functional"} } } ``` ### Step 2 Verify RF01 and RF02 appear in `manual_test_plan` and all other buckets are empty ```json { "id": 2, "jsonrpc": "2.0", "result": { "structuredContent": { "no_test_plan": [], "manual_test_plan": [ {"category": "functional", "id": "RF01"}, {"category": "functional", "id": "RF02"} ], "partially_manual_test_plan": [], "automated_test_plan": [] } } } ```