Skip to main content
Glama
RedHatInsights

Red Hat Lightspeed MCP

Official

rbac__lookup_tool_requirements

Read-only

Look up required console roles for any Red Hat Lightspeed MCP tool, no access check. Use after a 403 to identify missing permissions before calling explain_access_denied.

Instructions

Return the console role names required for an MCP tool.

This reports required roles without checking the authenticated caller's current access. Use explain_access_denied after a 403 response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tool_nameYesMCP tool name, e.g. inventory__find_host_by_name.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.21

TDQS

A4.5/5.0
Behavior4/5

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

The readOnlyHint annotation already signals safety, and the description adds important behavioral context by stating that this tool reports required roles without checking the authenticated caller's access. This clarifies a likely source of confusion with RBAC tools and augments what the annotations alone convey.

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 two crisp sentences with no filler. The first sentence states the purpose, and the second adds the key behavioral distinction and the routing to the alternative tool. Every sentence earns its place.

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?

For a single-parameter, read-only lookup tool with an output schema available, this description is complete. It explains what the tool returns, what it does not do, and how it relates to the relevant sibling tool, so an agent has enough information to invoke it correctly.

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?

The schema already provides 100% coverage for the single parameter, including a descriptive example ('inventory__find_host_by_name'). The description does not need to add parameter detail, and the baseline of 3 is appropriate since the schema carries the semantic weight.

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 states a specific verb ('Return') and a specific resource ('console role names required for an MCP tool'), making the tool's function immediately clear. It also distinguishes itself from the sibling rbac__explain_access_denied by explicitly noting it does not check the caller's current access.

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

Usage Guidelines5/5

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

The description gives clear context for when to use this tool: when you need required roles rather than current access evaluation. It explicitly names the alternative tool to use after a 403 response, leaving no ambiguity about the appropriate choice between these related RBAC tools.

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