Skip to main content
Glama

Settle a signed x402 payment

settle_payment

Broadcasts the payment on-chain and moves real funds; it is idempotent per signed payload, so resubmitting the identical payload returns the recorded outcome. Treat errorReason "settlement_pending" as unresolved and call again with the identical arguments to poll.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x402VersionNo
paymentPayloadYes
serverExtensionsNo
paymentRequirementsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden, and it delivers important behavioral context: it is idempotent per signed payload, moves real funds, and specifies how to handle a pending settlement. This is strong disclosure, though it omits details like return values, authorization requirements, or irreversible consequences beyond 'moves real funds.'

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?

The description is two sentences long, front-loaded with the primary purpose and followed by the most important operational caveat. Every sentence earns its place: the first states what the tool does and its idempotency, the second explains the retry behavior.

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?

Given that this tool moves real funds, has no output schema, and has four parameters with zero schema coverage, the description provides enough for basic invocation but leaves gaps: it does not explain what the settlement result looks like beyond an errorReason, nor does it clarify prerequisites or contrast with verify_payment. It is adequate but not fully complete for safe autonomous use.

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?

The input schema has 0% description coverage, and the description does not compensate by explaining what paymentPayload, paymentRequirements, x402Version, or serverExtensions mean. It references 'signed payload' and 'identical arguments,' but an agent still lacks enough information to construct valid parameter values for these opaque nested objects.

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 clearly states the tool's purpose: broadcasting a signed x402 payment on-chain and moving real funds. It is specific enough to distinguish from sibling verification tools by emphasizing actual settlement, though it does not explicitly name a sibling for contrast.

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

Usage Guidelines4/5

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

The description gives clear operational guidance, particularly the polling instruction for errorReason 'settlement_pending' and the admonition to resubmit identical arguments. It does not explicitly explain when to prefer this tool over verify_payment, but the purpose of moving funds implies the settlement use case.

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