Skip to main content
Glama
Red Hat Lightspeed MCP

Red Hat Lightspeed MCP

Official

ocp-advisor__get_recommendations

Read-only

Retrieves Red Hat Insights Advisor rule hits and risk levels for an OpenShift cluster UUID, returning rendered recommendations and cluster-specific guidance so you can resolve known issues.

Instructions

Get Insights Advisor recommendations (rule hits) for a cluster, with rendered details.

šŸ”“ GATHER INFO FIRST - Use a supplied cluster UUID or find one with list_clusters.

Returns cluster metadata, rule hits, risk levels, and cluster-specific guidance. Set include_disabled=true to include disabled recommendations. Recommendation fields are rendered server-side (render=true). Fields that fail to render retain template text and are flagged by rendering: {"status": "failed"}; do not treat them as rendered guidance.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cluster_id": "<cluster_id>"
    },
    "name": "ocp-advisor__get_recommendations"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYesCluster UUID, e.g. from list_clusters
include_disabledNoInclude disabled recommendations

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.35

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

readOnlyHint=true already establishes the safety profile, so the description's added value is the rendering caveat: fields are rendered server-side and failures keep template text flagged by rendering.status=failed, which an agent must not treat as guidance. That is genuinely useful beyond annotations, but most of the remaining text (returns cluster metadata, rule hits, risk levels) restates the output schema rather than adding behavioral detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads purpose in the first sentence, then prerequisite, then return shape, then the rendering caveat. The warning emoji/bold GATHER INFO FIRST is slightly noisy but functional; nearly every sentence carries information, with only mild overlap against the output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be spelled out, and the one non-obvious behavior (partial render failures) is disclosed. Prerequisite and option semantics are covered; only alternative tools for the same data are left implicit, a minor gap for a read-only, two-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented in the schema. The description only echoes the include_disabled behavior and points cluster_id at list_clusters as a source; it adds no format or constraint detail beyond the structured fields, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource: 'Get Insights Advisor recommendations (rule hits) for a cluster, with rendered details.' The cluster-scoped framing distinguishes it from list_clusters (referenced as a prerequisite) and list_rules, though it does not explicitly contrast with sibling tools like get_recommendations_stats or get_rule_content.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition ('GATHER INFO FIRST - Use a supplied cluster UUID or find one with list_clusters') and a concrete option toggle ('Set include_disabled=true to include disabled recommendations'). It lacks explicit when-not guidance or routing to alternative recommendation-gathering tools, which keeps it below a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools