Skip to main content
Glama

Compl-AI-ance

resolve_pending_tool_call

Einen angehaltenen Aufruf freigeben oder ablehnen. Bei Freigabe wird er mit GENAU den gespeicherten Argumenten ausgeführt und das Ergebnis an derselben Zeile vermerkt.

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

Input Schema

NameRequiredDescriptionDefault
idYes
approveYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden, and it does add one valuable fact: approval executes with EXACTLY the stored arguments, so arguments cannot be altered at resolution time, and the outcome is recorded on the same line. It says nothing about whether rejection is reversible, what permissions are required, whether the call resumes asynchronously, or what happens if the held call has expired.

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?

Two short sentences, front-loaded with the action and followed by the key consequence of approval. No filler, no repetition of the tool name.

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 tool with no annotations and no output schema, the description covers the core behavior but omits the mechanics an agent needs: where the id comes from, whether rejection is final, and any indication of success or failure beyond the recorded result.

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% for both parameters, so the description must compensate. It does map the approve flag to concrete behavior (true executes with the stored arguments, false rejects), which is more than the bare boolean in the schema conveys, but the id parameter's format and provenance remain undocumented.

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 names a specific verb pair (release/approve or reject) and a specific resource (a held/pending tool call), which sets it apart from siblings such as list_pending_tool_calls. It does not, however, name that sibling or otherwise state where pending calls come from.

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: the agent can infer this applies to entries surfaced by the pending-calls listing tool, but the description never says to obtain the id there first, nor when to reject instead of approve. Adequate but leaves routing 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