Skip to main content
Glama
RedHatInsights

Red Hat Lightspeed MCP

Official

Get Statistics of Recommendations Across Categories and Risks

advisor__get_recommendations_stats
Read-onlyIdempotent

Display recommendation statistics grouped by category and risk, with optional filters for workspaces or system tags.

Instructions

Show statistics of recommendations across categories and risks.

Call examples: Standard call showing all recommendations: {} Statistics for the workspace 'workspace1': {"groups": "workspace1"} Statistics for systems tagged 'insights-client/security=strict': {"tags": "insights-client/security=strict"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupsNoFilter based on workspace names. Comma separated list of workspace names.Used only when impacting=True. Example: 'workspace1,workspace2'
tagsNoFilter based on system tags. Accepts a single tag or a comma-separated list.Used only when impacting=True. Tag format: 'namespace/key=value'. Example: 'satellite/group=database-servers,insights-client/security=strict'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true, so the description's 'Show statistics' is consistent. The description adds no additional behavioral details beyond the annotation set, meeting the baseline for transparency.

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

Conciseness5/5

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

The description is extremely concise with a single sentence purpose followed by three illustrative call examples. Every sentence adds value, and the structure is front-loaded for quick comprehension.

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

Completeness5/5

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

Given the tool has an output schema, return values are covered externally. The description explains the tool's purpose, parameters, and typical usage patterns (all vs. filtered). It is fully complete for its complexity level and sibling context.

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

Parameters4/5

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

Schema coverage is 100%, and the schema descriptions already explain parameters. The call examples add practical usage context (e.g., 'Statistics for the workspace workspace1') which enhances understanding beyond the schema, justifying a score above baseline.

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

Purpose5/5

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

The description explicitly states the tool shows statistics of recommendations across categories and risks, with a clear verb-resource combination. It distinguishes from sibling tools like advisor__get_rule_details or advisor__get_active_rules which focus on rules rather than aggregated statistics.

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?

Call examples demonstrate standard usage and filtering by groups or tags, giving clear context for parameter use. However, it does not explicitly state when not to use this tool or provide alternative suggestions, leaving some ambiguity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RedHatInsights/insights-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server