Skip to main content
Glama

Resolve pending approval

resolve_pending_approval
Destructive

Approve or deny a pending agent tool call. Approving does not automatically re-run the call — the agent should retry it after seeing status='approved'.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "approvalId": "<approvalId>",
      "decision": "<decision>"
    },
    "name": "resolve_pending_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
decisionYes
approvalIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered; the description adds a genuinely non-obvious behavioral fact — approval does not re-trigger the call and the agent must retry it. It stops short of saying what happens to a denied call (does it get discarded?) or what error surfaces for an expired/unknown approvalId.

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?

Two sentences, zero waste, with the operation stated first and the non-obvious follow-up condition immediately after. Nothing is padded or restated from the title.

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 destructive, non-idempotent, two-parameter state-changing tool with no output schema, the definition covers the core action and the key retry semantics but leaves the deny path, failure modes, and permission requirements unaddressed. Adequate to call correctly, not complete enough to call confidently in edge cases.

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 must compensate. It does partly: "Approve or deny" plus the quoted status='approved' maps onto the decision enum, and "pending approval" implies approvalId. But the format/source of approvalId and the exact behavior of each enum branch remain undocumented anywhere.

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?

"Approve or deny a pending agent tool call" names a specific action pair and a specific resource, so an agent can tell this is the decision step of an approval workflow. It does not name the obvious sibling (list_pending_approvals) as the way to find an approvalId, so differentiation is left to inference.

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?

Usage is implied rather than stated: you call it when an approval is pending, and the second sentence gives a clear post-approval follow-up (retry the tool call). There is no explicit when-not guidance, no mention of where to obtain approvalId, and no naming of an alternative.

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