list_rules
Retrieve the custom semgrep rules pack with rule IDs, categories, severities, descriptions, and default-enabled status, optionally filtered by category. No GMI call or spend.
Instructions
List the custom semgrep rules pack. No GMI call, no spend.
Returns each rule with id, name, category, severity, description, and whether it is enabled by default. category filters to one of the 7 known checks. The pack ships in src/gmi_security_mcp/rules/; set GMI_SECURITY_MCP_RULES_DIR when it is elsewhere.
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": "list_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |