Skip to main content
Glama

chain_transaction_explain

$0.005 via x402: decode any transaction by hash into a plain-English explanation — what actually happened (a swap, transfer, approval, mint, or contract call), who the actors are, and the full list of asset changes (every native coin and token in/out with symbol, amount and direction), plus status, fee and the decoded method. The read agents make to UNDERSTAND a tx, not just confirm it landed: for wallet UX, accounting, risk, dispute and trading agents. Across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. Live from Blockscout; one paid call instead of running your own indexer + ABI decoder.

Input Schema

NameRequiredDescriptionDefault
hashYesTransaction hash (0x... 64 hex)
chainNobase|ethereum|optimism|arbitrum|polygon|gnosis (default base)
x_paymentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it discloses the paid cost ($0.005 via x402), the live source (Blockscout), that it is a read operation, and lists returned fields. However it omits key operational behavior such as x_payment prerequisites, failure/error handling, and whether payment is retried or required per call.

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?

Front-loads the cost and core purpose, and most of the long sentence earns its place by enumerating outputs and chains. There is minor promotional padding in 'one paid call instead of running your own indexer + ABI decoder,' but overall it is dense and useful rather than rambling.

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?

Without an output schema or annotations, the description does substantial compensating work by listing return contents (actors, asset changes, status, fee, decoded method) and supported chains. It still leaves the x_payment parameter and error/not-found behavior unexplained, which an agent needs for a paid call.

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 67%: hash and chain are documented in the schema, and the description reinforces them by naming the hash input and enumerating the supported chains. The x_payment parameter has no description in either the schema or the description, leaving the payment mechanism undefined.

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 ('decode'), resource ('transaction by hash'), and output ('plain-English explanation'), then distinguishes itself from chain_transaction_status with 'The read agents make to UNDERSTAND a tx, not just confirm it landed.' An agent can tell exactly what this does and how it differs from the status sibling.

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 clear when-to-use context ('for wallet UX, accounting, risk, dispute and trading agents') and a when-not contrast ('not just confirm it landed'). The alternative is implied rather than named, so it stops short of the explicit sibling routing a 5 would require.

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.