Skip to main content
Glama

Resolve agent approval

resolve_agent_approval

Approve or deny a parked agent call. Approving turns it into a one-time token — the agent's next identical call runs.

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_agent_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 one-time-token mechanic — approving lets the agent's next identical call run — is genuinely non-obvious behavior that goes well beyond the annotations, and it is consistent with idempotentHint=false. What is missing is the deny side: it never says whether denying discards the call permanently, notifies the agent, or can be revisited.

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 tight sentences, no filler, and the core mechanic is front-loaded right after the verb statement. Nothing could be removed without losing meaning.

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 approve path but leaves the deny path, failure conditions, and return behavior unaddressed. It is adequate to attempt a call, but not to predict the outcome of either decision.

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%, so the description must carry the parameter burden. It only loosely glosses the decision values via the token explanation, and says nothing about where approval_id comes from or what format it takes — an agent must infer it should harvest IDs from list_agent_approvals.

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 or deny) and a specific resource (a parked agent call), which is unambiguous about what the tool does. It does not, however, distinguish itself from the close sibling 'resolve_ai_action_approval', leaving the agent to guess which resolver applies to which parked object.

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 only implied: it is for parked agent calls, so an agent can infer it should be called after seeing a pending approval. There is no explicit when-to-use framing, no mention of the sibling alternatives (list_agent_approvals, resolve_ai_action_approval), and no preconditions such as the approval needing to still be pending.

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