# `TMCP033` test_plan_coverage filtered by category Call test_plan_coverage with a category filter and verify only requirements from that category appear :::{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_by_category`](https://github.com/agagniere/speky/blob/master/tests/test_mcp_server.py#L625) ::: :::{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 `non-functional` ```json { "id": 2, "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "test_plan_coverage", "arguments": {"category": "non-functional"} } } ``` ### Step 2 Verify only non-functional requirements appear: RF04 in `no_test_plan`, RF03 in `partially_manual_test_plan` ```json { "id": 2, "jsonrpc": "2.0", "result": { "structuredContent": { "no_test_plan": [ {"category": "non-functional", "id": "RF04"} ], "manual_test_plan": [], "partially_manual_test_plan": [ {"category": "non-functional", "id": "RF03", "short": "Number 3", "tags": ["foo", "bar:baz"]} ], "automated_test_plan": [] } } } ```