Summarize SEI CERT checker coverage
get_rule_coverageCounts SEI CERT rules per detection tier (deterministic, partial, LLM-only) to reveal how much review static analysis can carry and where manual review is needed.
Instructions
Count SEI CERT rules per detection tier: deterministic (a rule-specific checker exists), partial (only general checkers map) and llm-only (no checker; manual review needed), both for all upstream checker mappings and for the pinned reference toolchain (clang-tidy and Clang Static Analyzer 19.1.7, cppcheck 2.17.1). Use to judge how much of a review static analysis can carry. Computed from bundled data; it does not probe the analyzers installed here (check_files reports those in tools[]). For one rule use get_rule; to list a tier's rules with titles use list_rules with coverage.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_rule_coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Count only rules or only recommendations. | any |
| lang | No | Count only SEI CERT C (c) or C++ (cpp) rules. | any |
| include_ids | No | Add rules_all_mappings and rules_runnable: rule ID lists per tier (~10 KB). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Rules counted after the lang/kind filters. | |
| sources | Yes | Upstream mapping sources and commits. | |
| toolchain | Yes | Pinned analyzer versions the tiers were computed for. | |
| definitions | Yes | Meaning of deterministic, partial and llm-only. | |
| all_mappings | Yes | Counts per tier using every upstream checker mapping. | |
| runnable_toolchain | Yes | Counts per tier using only checkers available in the pinned toolchain. |