ocp-advisor__list_rules
Lists OCP Advisor rules with recommendation metadata such as risk, impact, tags, and impacted cluster counts. Filter by impacting to see only rules currently affecting clusters.
Instructions
List available OCP Advisor rules and recommendation metadata.
š¢ CALL IMMEDIATELY - No information gathering required.
Uses Insights Results Smart Proxy v2 GET /rule. Returned rule identifiers are
composite IDs such as ccx_rules_ocp.external.rules.example.report|ERROR_KEY and
are suitable for get_rule_content. Each recommendation can include title/description,
generic text, publication date, risk/impact/likelihood, tags, disabled state, and impacted
cluster counts.
The upstream endpoint does not expose native pagination. limit and offset are
documented MCP-side collection bounds applied after retrieving the list. Unknown upstream
failures, authorization failures, and malformed impacting values are raised as errors;
failed retrieval is not returned as an empty successful list.
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": "ocp-advisor__list_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of rules to return after MCP-side slicing. Range 1-100. Default 20. The upstream /rule endpoint has no native pagination. | |
| offset | No | Zero-based rule offset for MCP-side slicing. Default 0. The upstream /rule endpoint has no native pagination. | |
| impacting | No | Optional Smart Proxy impacting filter. Omit to list all available rules; true lists only rules currently impacting clusters; false lists rules that are not currently impacting clusters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |