Skip to main content
Glama

Verify an x402 payment settlement on Base

verify_x402_settlement

Verify an x402 payment receipt by checking the on-chain USDC transfer against expected recipient and amount. Provides a structured verdict on settlement validity.

Instructions

Given a tx hash, expected recipient, and expected USDC amount, returns a structured verdict on whether the on-chain USDC Transfer event actually matches the claimed settlement. Use to independently verify any x402 payment receipt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tx_hashYes32-byte tx hash (0x-prefixed)
expected_recipientYesExpected payTo wallet (0x-prefixed, checksummed)
expected_amount_usdcYesExpected USDC amount, e.g. "0.02" or 0.02
Behavior2/5

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

No annotations provided, so description carries full burden. It does not disclose behavioral traits such as rate limits, permission requirements, or side effects. It mentions 'returns a structured verdict' but does not describe the verdict structure, leaving uncertainty about output format.

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?

Two concise sentences with no redundancy. Every word adds value: specifies inputs, action, and purpose. Front-loaded with key information.

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?

The tool lacks an output schema, and the description does not explain the return value format ('structured verdict' is vague). For a verification tool, the expected result (e.g., boolean, object with fields) is critical for usage. Missing details reduce completeness.

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?

Since schema description coverage is 100%, baseline is 3. The description adds minimal context beyond schema (e.g., 'expected' for recipient and amount), but doesn't provide additional usage nuances. It is adequate but not enriching.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses specific verb 'verify' and resource 'x402 settlement', clearly stating it checks on-chain USDC Transfer against claimed settlement with given parameters. It distinguishes from siblings like parse_x402_manifest or tf_payment_lookup by focusing on independent verification of payment receipt.

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 explicitly says 'Use to independently verify any x402 payment receipt', giving clear context for when to use. However, it lacks explicit when-not-to-use scenarios or comparisons to sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RipperMercs/tensorfeed-x402-base-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server