Skip to main content
Glama

SaaS Pro Max

Get command authorization

get_command_authorization
Read-onlyIdempotent

Read whether this token's prepared command is pending, approved, rejected, expired, executing, executed or failed. Approval applies once to the exact target and input. A completed or uncertain execution must be inspected rather than retried with a new approval automatically.

Input Schema

NameRequiredDescriptionDefault
authorizationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so safety is covered; the description adds genuinely new behavioral context by stating that approval applies once to the exact target and input and by warning against automatic re-approval after an uncertain execution. It doesn't disclose what the response contains or how long states persist.

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?

Three sentences, front-loaded with the operation and the state enumeration, followed by the two operational cautions. The state list is long but load-bearing since it defines the return values; no filler sentences.

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?

No output schema exists, so the description carries the return-value burden and does it by enumerating all eight possible states. Combined with the approval-semantics and no-auto-retry caveats, an agent has enough to poll and react correctly without additional context.

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 0%, so the description is expected to compensate for the single authorizationId parameter. It only implies provenance via 'this token's prepared command', without saying where the id comes from (presumably prepare_command) or how to handle unknown/expired ids; the format is enforced by the schema pattern alone.

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?

Specific verb ('Read whether') plus the exact resource (a prepared command's authorization status), and it enumerates every possible state, so the agent knows precisely what it gets back. It does not name the sibling workflow tools (prepare_command, execute_command) explicitly, so differentiation is implied rather than stated.

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 a clear conditional rule — a completed or uncertain execution must be inspected rather than retried with a new approval automatically — which is real when/when-not guidance. It stops short of explicitly routing to execute_command or prepare_command as alternatives, leaving the workflow linkage to inference from 'this token's prepared command'.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources