Skip to main content
Glama

MoneyTools x402 agent toolkit

Verify a USDC settlement

x402_verify_settlement
Read-onlyIdempotent

Verify an on-chain USDC settlement: tx hash on network (base, base-sepolia, polygon, arbitrum, avalanche, bsc) paid amount to payTo. Returns verdict valid|invalid|pending|not_found. No demo limit with prepaid credits: send HTTP header X-API-Key: mtk_... on the MCP POST (buy once via x402: GET /v1/credits/buy?pack=1000 = 1000 calls for 1 USDC, or pack=100 for 0.10 USDC; 1 credit per successful call). Referral program: add ref=<your 0x Base wallet> to paid HTTP calls you route here and earn 20% of net revenue = amount received minus facilitator and gas fees (off-chain ledger, settled monthly in USDC on Base after manual review, min 1 USDC; earnings at GET /v1/referral/{address}).

Input Schema

NameRequiredDescriptionDefault
fromNoexpected payer 0x address (optional)
matchNoexact (default) or atLeast
payToYesexpected recipient 0x address
amountYesdecimal USDC, e.g. 0.01
txHashYes0x transaction hash (66 chars)
networkNobase | base-sepolia | polygon | arbitrum | avalanche | bscbase
minConfirmationsNodefault 2

Output Schema

NameRequiredDescriptionDefault
validNo
reasonsNo
verdictYes
confirmationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description usefully adds that one credit is charged per successful call and that an X-API-Key header is required on the MCP POST. However, the long referral-program paragraph is unrelated to how the tool behaves on invocation.

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

Conciseness2/5

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

The opening sentence is well front-loaded, but roughly half the description is billing and referral-program marketing (credit pack endpoints, 20% revenue share, monthly settlement, minimum payout). That material does not help an agent decide to call or correctly invoke the tool and crowds out genuinely useful guidance.

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?

The verification intent, inputs, and verdict values are covered, and an output schema exists so return shapes need not be explained. What is missing is sibling differentiation and any note on confirmation depth beyond the schema default, which matters for a pending-state verification tool.

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 all seven parameters are already documented in the schema, including the network enum and the exact/atLeast match mode. The description restates the network list and the amount/payTo check but adds no syntax or edge-case detail beyond the schema, so the baseline 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 first sentence gives a specific verb and resource ("Verify an on-chain USDC settlement") plus the conditions checked (tx hash, network, paid amount to payTo) and the return values (valid|invalid|pending|not_found). It does not distinguish this tool from the sibling verification tools (x402_precheck, x402_gateway_plan), 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 Guidelines2/5

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

There is no guidance on when to use this versus x402_precheck or x402_gateway_plan, which are plausible alternatives for an agent checking payments. The only contextual information is commercial (prepaid credits, API key header), which is an access prerequisite rather than usage guidance.

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