Skip to main content
Glama
x402-data-mcp

x402-data-mcp

Transaction status and receipt by hash, chain auto-detected ($0.002)

get_transaction

Look up a transaction hash across Base, Ethereum, Arbitrum, Optimism, and Polygon, auto-detect the chain, and return status, block, confirmations, value, fees, and logs.

Instructions

Transaction status by hash on Base, Ethereum, Arbitrum, Optimism and Polygon; the chain is found for you. Returns success, reverted or pending, block, confirmations, timestamp, from, to, value, fee (L1 fee included on OP chains), created contract and log count. Full history via archive RPCs. Not charged when the hash is not found (404) or every chain fails (502). No API key. Price: $0.002 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

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": {
      "hash": "<hash>"
    },
    "name": "get_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesTransaction hash (0x + 64 hex)
chainsNoComma list, any of: base,ethereum,arbitrum,optimism,polygon. Default: all five. Narrowing it is optional; the hash is looked up on every listed chain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: enumerates the returned fields, explains archive-RPC full-history coverage, L1 fee inclusion on OP chains, the 404/502 no-charge cases, the x402 payment flow and the X402_PRIVATE_KEY wallet. Notes that failed calls are free, which directly informs retry behavior. The only oddity is the annotation's readOnlyHint=false for what is plainly a read operation, but the description itself is not contradictory.

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-loaded with purpose and chain coverage, then return shape, then billing. Slightly repetitive on the no-charge-on-failure point, which appears twice (404/502 and 'not charged when the call fails'), but otherwise dense and purposeful.

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?

There is no output schema, so the description correctly carries the return-value burden by listing result states, block, confirmations, addresses, value and fee details. Pricing, failure behavior and auth requirements are all covered, leaving nothing an agent needs to call it correctly.

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 both the hash pattern and the chain list semantics are already documented in the schema. The description reinforces that chain detection is automatic and narrowing is optional, but adds no syntax or format detail 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 (retrieve transaction status by hash) plus the exact supported chains, and clarifies that chain detection is automatic. None of the sibling tools is a transaction-lookup tool, so the scope is unambiguous on its own terms.

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?

Makes clear when the tool applies: any 0x+64-hex hash on the five named chains, with the optional `chains` narrowing explicitly labeled as optional. It does not name a contrasting alternative, but there is no obvious sibling overlap to route against.

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