Skip to main content
Glama

approve_payment

Approves a pending payment request by ID as the wallet owner, causing immediate execution.

Instructions

Owner approves a pending payment request; it executes immediately.

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": {
      "request_id": "<request_id>"
    },
    "name": "approve_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose two important traits: approval is restricted to the Owner and execution happens immediately. It does not disclose irreversibility, idempotency, error behavior for already-processed requests, or what happens on failure.

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?

It is a single front-loaded sentence with no wasted words, and the immediate-execution warning is placed where it matters. It is perhaps too terse for a mutation tool, but conciseness itself is strong.

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 payment-approval mutation with no annotations and no output schema, the description covers the core action and authorization/immediacy. It leaves out important operational details such as irreversibility, idempotency, failure modes, and the meaning of request_id, so it is only minimally sufficient.

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 compensate for the undocumented request_id parameter. It does not describe the parameter's format, source, or whether it must reference a pending payment. The parameter name is intuitive, but the description adds no meaning beyond it.

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 states a specific verb and resource: 'approves a pending payment request'. This clearly distinguishes it from create/fund/check operations, though it does not explicitly name sibling tools like deny_payment or pay.

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?

It implies the request must be pending and notes immediate execution, which is useful context. However, it does not say when to prefer deny_payment, check_payment, or pay, nor does it state exclusions or preconditions beyond 'pending'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.