Skip to main content
Glama
RedHatInsights

Red Hat Lightspeed MCP

Official

rbac__explain_access_denied

Read-only

Diagnose 403 access denials from Red Hat Lightspeed calls and return the exact console role names the caller is missing, so you can fix permissions without guessing.

Instructions

Diagnose a 403 access denial for a specific MCP tool call.

Returns only the console role names the caller is missing. Use this instead of guessing permission or role names.

The authenticated principal is usually the MCP service account when using client ID/secret in the environment—not the console user in chat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
failed_urlNoFull REST URL from the error message, if available.
failed_toolNoMCP tool that failed, e.g. vulnerability__get_system_cves (toolset__function_name).
http_statusNoHTTP status from the failure.
failed_methodYesHTTP method used by the failed REST request, e.g. GET, POST, or PUT.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.21

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses that only missing console role names are returned and adds an important authentication caveat: the principal is usually the MCP service account, not the console user. This is valuable behavioral context an agent would not otherwise know.

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?

Three short sentences, each earning its place: the action, the constrained output, and the auth-context caveat. The most important usage guidance is front-loaded before the auth note.

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?

The description is complete for a diagnostic tool with a rich output schema and fully documented parameters. It covers when to use it, what it returns, and a crucial identity caveat; nothing essential is missing for an agent 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?

Schema description coverage is 100%, so the input schema already documents all four parameters well. The description does not add parameter-level detail beyond the schema, which is acceptable given the high coverage baseline.

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?

The description clearly states the tool's job: diagnosing a 403 access denial for a specific MCP tool call and returning missing console role names. It does not explicitly name or distinguish sibling tools like rbac__lookup_tool_requirements or rbac__get_caller_access, so it stops short of full sibling differentiation.

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?

The description gives clear context for use: when a 403 occurs on a specific tool call, use this instead of guessing role or permission names. It does not explicitly contrast with sibling RBAC tools, but it provides actionable guidance about when the tool is appropriate.

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