Skip to main content
Glama

Xenition

Approve a pending action

approve_action
Destructive

Approve a pending action awaiting the user's decision (from list_pending_approvals).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesthe pending action id (from list_pending_approvals)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, readOnlyHint=false and openWorldHint=true, so the agent knows this is an irreversible, non-idempotent write. The description adds nothing beyond that: it does not say what approving actually triggers, whether the decision can be reversed, or what the side effects are on the underlying action.

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?

A single tight sentence with the action front-loaded and the identifier provenance appended efficiently. There is no filler, though it is arguably too terse for a destructive operation.

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?

An output schema exists, so return values need not be explained, and the annotations cover the safety profile. Still, for a destructive, non-idempotent approval the description should convey more about consequences or follow-up (e.g. that the action proceeds immediately), which is left entirely to the annotations.

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% and the single 'id' parameter is fully documented in the schema, so the baseline is 3. The description only repeats the provenance of the id, adding no format or constraint detail beyond what the schema already provides.

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?

States a specific verb and resource ('Approve a pending action') and scopes it to items 'awaiting the user's decision', which cleanly separates it from the deny_action sibling and from list_pending_approvals. It stops short of explicitly naming deny_action as the counterpart, so it is clear but not maximally differentiated.

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 parenthetical '(from list_pending_approvals)' implies the correct workflow — list first, then approve an item from that list — which is useful context. However, there is no explicit when-to-use guidance, no statement of what to do instead if the user wants to reject (deny_action), and no preconditions such as required permissions.

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