Skip to main content
Glama

Transaction Explainer + Payment Check

tx_explain
Read-only

3 free MCP calls per day (all tools together), then $0.0025 USDC via x402 or card credits (paid in-band: params._meta["x402/payment"]). Base or Ethereum transaction hash -> plain JSON: status (success/failed/pending), block time, confirmations, from/to, ETH value, gas used and fee (incl. Base L1 fee), method selector + name, and every ERC-20/ERC-721 Transfer in the receipt with token symbol, decimals and human amounts. Optional payment check: expect_to + expect_token (USDC, ETH, symbol or address) + expect_amount confirms a payment arrived (e.g. verify a USDC or x402 settlement). Public RPC data only. When to use: Use tx-explain to understand one transaction or to verify a payment (USDC, ETH, any ERC-20) before delivering goods. Use wallet-profile for an address, contract-abi for a contract interface and token-risk to judge a token.

Input Schema

NameRequiredDescriptionDefault
hashYestransaction hash 0x + 64 hex
chainNodefault base
expect_toNooptional: recipient address the payment should reach
expect_tokenNooptional: ETH, USDC, USDT, EURC, DAI, WETH ... or a token address (default USDC)
expect_amountNooptional: minimum amount in human units, e.g. 0.001

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover readOnly/openWorld, but the description adds substantial non-obvious behavior: a hard quota (3 free calls/day across all tools), a price ($0.0025 USDC), two payment rails, the exact in-band payment parameter (params._meta["x402/payment"]), and the data provenance ('Public RPC data only'). Those are exactly the facts an agent needs before invoking a metered call, and none are inferable from annotations.

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

Conciseness4/5

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

Dense but every sentence carries information; nothing is padding. The only structural flaw is ordering: the description leads with pricing/quota rather than what the tool does, so the purpose arrives after the billing block instead of being front-loaded.

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

Completeness5/5

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

Complete for a metered read tool: input semantics, both chains, output contents, payment assertion behavior, and cost/quota are all covered, and an output schema exists so return shapes need not be spelled out further.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by explaining that expect_to + expect_token + expect_amount work together as a payment assertion ('confirms a payment arrived'), which is more than the schema's per-field notes convey. It also clarifies that expect_token accepts a symbol or an address and defaults to USDC, reinforcing the enum-ish behavior for a free-text field.

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 ('Base or Ethereum transaction hash -> plain JSON') and enumerates exactly what the output contains: status, block time, confirmations, from/to, value, gas/fee incl. Base L1 fee, method selector and all ERC-20/ERC-721 transfers. It also names the sibling tools it is not (wallet-profile, contract-abi, token-risk), so an agent can route without opening a schema.

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

Usage Guidelines5/5

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

An explicit 'When to use' clause gives the primary case (understand one transaction) and the concrete decision case (verify a USDC/ETH/ERC-20 payment before delivering goods). It then names three alternatives with their distinct scopes, which is exactly the when/when-not/alternatives pattern.

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