Skip to main content
Glama

MoneyTools x402 agent toolkit

Cancel an approval request

approval_cancel

Cancel a pending approval request (free). [served by approve.moneytools.dev]

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>",
      "agentToken": "<agentToken>"
    },
    "name": "approval_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
agentTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-idempotent, openWorldHint, and non-destructive, so the safety profile is largely covered by structured data. The description adds genuine context beyond that in '(free)' and the hosting service note, but it says nothing about what cancellation does to the request state, whether it can be undone, or what errors occur if the request is no longer pending.

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 clauses, front-loaded with the action and followed by cost/hosting detail; nothing is padded. The bracketed host note is slightly incidental but does not obscure the main statement.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 two fully undocumented required parameters and no output schema, the definition leaves an agent unable to determine what the call returns or how to supply agentToken. The annotations cover safety hints but not the operational detail an agent needs.

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% for both required parameters, so the description must compensate and it does not. 'id' is loosely inferable as the approval request identifier, but 'agentToken' — its source, scope, and required validity — is completely 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?

States a specific verb and resource ('Cancel a pending approval request') and the 'pending' qualifier narrows scope usefully against siblings like approval_status or approval_consume. It does not explicitly name those siblings as alternatives, so it stops short of a 5.

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?

There is no explicit when-to-use guidance: nothing says whether to check approval_status first, what to do if the request already moved past 'pending', or how this differs from approval_consume. The only usage signal is the implied constraint in the word '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