Skip to main content
Glama

Approve a pending action

approve_action
Destructive

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

Input Schema

NameRequiredDescriptionDefault
idYesthe pending action id (from list_pending_approvals)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the risk profile is largely carried by structured data. The description adds the precondition that the target must be a pending action, but says nothing about what approving actually triggers or whether it is reversible.

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?

One tight sentence with the action verb and target front-loaded and no filler. The parenthetical provenance hint is useful, though it duplicates wording already present in the schema.

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 annotations cover the safety profile. What remains unstated for a destructive one-param mutation is the consequence of approval and the explicit relationship to deny_action, leaving it only minimally adequate.

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?

There is a single parameter with 100% schema description coverage, and the schema already states it is "the pending action id (from list_pending_approvals)". The description adds no format, source, or validation detail beyond that, so the baseline of 3 applies.

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 ("Approve") and resource ("a pending action") and ties it to the originating tool list_pending_approvals. The approve/deny distinction from the sibling deny_action is implicit in the verb rather than called out, so it falls just 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 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 workflow: list pending approvals first, then approve one. But there is no explicit when-not guidance and no mention of deny_action as the alternative for rejecting the same item, leaving the choice to inference.

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.