Skip to main content
Glama

Resolve pending tool call

resolve_pending_tool_call

Approve or reject a pending tool call. On approval, it is executed immediately and its result stored.

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": {
      "pending_id": "<pending_id>"
    },
    "name": "resolve_pending_tool_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
approveNoDefaults to true.
pending_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true, so the safety profile is covered upstream. The description adds one genuinely useful behavior — approval triggers immediate execution and the result is stored — but stays silent on what rejection does to the pending call, whether a resolved call can be re-resolved (relevant given idempotentHint=false), and what is returned.

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 short sentences, front-loaded with the action and followed by the consequence. No filler, no redundant restatement of 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 non-idempotent mutation with no output schema, the definition should say what happens on reject and what the caller receives back. It covers only the approval path, leaving the negative branch and return shape unstated.

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 coverage is only 50%: 'approve' carries a default note, while 'pending_id' is completely undocumented in the schema. The description never mentions either parameter, so it fails to compensate for the gap — notably that pending_id must be an existing unresolved call and that approve defaults to true when omitted.

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?

The description gives a specific verb pair plus resource: 'Approve or reject a pending tool call.' That is unmistakably distinct from the read-only sibling list_pending_tool_calls, but it never names that sibling as the source of the pending_id, so differentiation is implicit rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance beyond the bare action, no prerequisite (where pending_id comes from), and no stated alternative. The only context given is post-call behavior, not selection guidance.

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