Skip to main content
Glama

x420_chain_proof-of-payment

Read-onlyIdempotent

Base proof of payment: Verifies a Base mainnet transaction hash as a token payment: receipt status, block time, confirmations, every ERC-20 Transfer it emitted for the token (USDC by default), and pass/fail checks against an expected recipient and minimum amount. Source: Base mainnet RPC. Not a settlement guarantee. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.01 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: status, block, block_time, confirmations, transfers[{from, to, amount}], checks{}, verified.

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": {
      "tx_hash": "<tx_hash>"
    },
    "name": "x420_chain_proof-of-payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoERC-20 contract to inspect (default USDC on Base)
tx_hashYes0x transaction hash
expected_toNorecipient address the payment must have reached (default: any)
expected_amountNominimum token amount, e.g. 0.10 (default: any)
min_confirmationsNoconfirmations required (default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Discloses behavior the annotations cannot: the hosted tool does NOT pay and does NOT return the deliverable, only validates input and returns payment instructions, at a stated price of $0.01 USDC per call. It also flags 'Not a settlement guarantee,' which correctly frames the safety limits of a readOnly validation call. Fully consistent with readOnlyHint=true and destructiveHint=false.

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?

Purpose and payment mechanics are front-loaded, but the middle is padded with boilerplate ('Not professional, legal, insurance, engineering, medical, financial or tax advice') that does not help tool selection or invocation. The x402 retry loop and deliverable list are useful but could be tightened.

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?

With no output schema, the description usefully enumerates the paid deliverable fields (status, block, block_time, confirmations, transfers, checks, verified) and the full two-stage payment protocol. Complete enough for an agent to call correctly, though error/timeout behavior on failed verification is not described.

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 coverage is 100%, so defaults and types are already documented. The description adds modest meaning by framing expected_to/expected_amount as pass/fail checks and noting USDC as the default token, but does not clarify formats or edge cases (e.g. how amount precision is compared) beyond the schema.

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?

States a specific verb and resource: 'Verifies a Base mainnet transaction hash as a token payment,' then enumerates exactly what is checked (receipt status, block time, confirmations, ERC-20 Transfer events, recipient/minimum-amount checks). An agent can tell this is a payment-verification tool rather than a generic tx lookup like x420_chain_tx.

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?

Gives explicit invocation guidance: the hosted tool returns payment instructions, so the agent must GET the url, read PAYMENT-REQUIRED from the 402, and retry with PAYMENT-SIGNATURE, or use the local x420-mcp server. It does not state when to prefer this over sibling tools such as x420_chain_tx or x420_chain_token-transfers, so there is no exclusion 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