Skip to main content
Glama

Resolve ai action approval

resolve_ai_action_approval

Approve or deny a parked AI tool call. Approving executes it immediately (e.g. runs the Stripe refund); denying just closes the request.

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": {
      "approval_id": "<approval_id>",
      "decision": "<decision>"
    },
    "name": "resolve_ai_action_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
decisionYes
approval_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

The description adds real behavioral context beyond the annotations: approving is a side-effecting action that immediately executes the parked tool call, while denying is a no-op close. That is the most important thing an agent needs to know and it is not encoded in readOnlyHint/destructiveHint=false. It does not cover permissions required to approve or whether an approved call can be undone if the downstream action fails.

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, front-loaded with the action and immediately followed by the consequence for each branch. The parenthetical example earns its place by making the stakes concrete.

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 two-parameter mutation with no output schema, the description covers the critical consequence of the approve branch but leaves the provenance of approval_id and the post-call return state undefined. An agent could call it correctly only if it already knew where approval IDs come from.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description never mentions either parameter by name. The approve/deny intent maps loosely to the decision enum, but nothing explains where approval_id comes from (presumably a prior list_ai_action_approvals call) or what format it takes, so the description does not compensate for the coverage gap.

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 pair (approve/deny) and a specific resource (a parked AI tool call), with a concrete example (Stripe refund). It stops short of naming how it differs from the sibling resolve_agent_approval, so an agent still has to guess which resolver applies to which approval type.

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 by the phrase 'parked AI tool call' — you call this when an AI action is waiting on a human decision. There is no explicit when-to-use vs. when-not guidance and no pointer to an alternative resolver among the siblings, so the routing decision is left 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.

Resources