Skip to main content
Glama

Beggar Bot

x402_settlement

Decode an x402 settlement tx: EIP-3009 AuthorizationUsed events → payer, payee, USDC amount, nonce; facilitator address, gas paid by facilitator, status, method (transferWithAuthorization/batched). Ba Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_settlement"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNo0x tx hash
chainNobase default

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it names the EIP-3009 event decoded, the returned fields (payer, payee, USDC amount, nonce, facilitator, gas, status, method), and method variants. It still does not explicitly state read-only behavior, error conditions, or rate limits, but the decode nature makes the safety profile reasonably clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core sentence is front-loaded and dense with useful output details, but the trailing fragment 'Ba Paid: $0.02 USDC via x402.' is confusing and unexplained. It may convey cost or payment context, but its unclear placement and wording detract from structure.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must explain return values, and it does so by listing the decoded settlement fields and method variants. Combined with complete parameter schema coverage, this is largely sufficient for a two-parameter decode tool, though supported-chain and error behavior could be clearer.

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 100%, so the schema already documents both parameters ('tx' as a 0x tx hash and 'chain' with base as default). The description adds no further parameter meaning, so the baseline score of 3 applies.

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: 'Decode an x402 settlement tx.' It also enumerates the decoded fields, making the tool's purpose clear. It does not explicitly differentiate itself from sibling x402 tools, so it falls 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 Guidelines3/5

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

Usage is implied by 'Decode an x402 settlement tx'—an agent would use this when it has a settlement transaction to inspect. However, the description gives no explicit when-to-use guidance, no exclusions, and no named alternatives among the many x402 sibling tools.

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.