Skip to main content
Glama

Get operation approval

get_operation_approval
Read-only

Retrieve an operation approval by its ID and receive a one-time token when it is approved. Ensures protected actions proceed only after human consent.

Instructions

Read one operation approval and return a one-time token when approved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
approval_idYes
Behavior4/5

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

The annotations declare readOnlyHint=true and the description matches with 'Read'. It adds behavioral context about returning a one-time token when approved, which goes beyond the annotation. However, it does not disclose behavior when the approval is not approved or whether the token is one-time in the sense of being invalidated after use.

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 a single sentence with no redundant words, directly stating the action and the conditional output. It is highly concise and well-structured.

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

Completeness3/5

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

For a simple read operation with one parameter and no output schema, the description gives the core behavior but omits what occurs when the approval is not approved (e.g., empty response, error). It also does not mention token invalidation specifics. This leaves a notable gap in the return contract, but overall it is usable for basic invocation.

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 description coverage is 0%, and the description does not explicitly describe the 'approval_id' parameter. Yet the parameter name is self-explanatory, and the phrase 'Read one operation approval' implies the ID is the identifier. The description adds no extra parameter semantics beyond the schema field name and type.

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 uses the specific verb 'Read' and identifies the resource 'operation approval', clearly distinguishing this single-get tool from the sibling list_operation_approvals. It also specifies the outcome — returns a one-time token when approved — making the purpose explicit.

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

Usage Guidelines3/5

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

The description implies this is for reading a single approval and receiving a token if approved, but it provides no explicit when-to-use guidance or exclusions. It does not contrast with related tools like list_operation_approvals or suggest contexts where this should be called.

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/Xsxdot/super-dev'

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