Skip to main content
Glama

Agent Data Hub

Transaction status & token transfers

chain_tx
Read-onlyIdempotent

Look up an EVM transaction by hash: pending/success/failed, confirmations, timestamp, from/to, value, fee paid, method id, and decoded ERC-20 Transfer events (token, amount, from, to). Chains: Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche, Gnosis. Use to confirm a payment landed. Price: $0.003 per call (USDC on Base via x402); the first 10 calls per day are free.

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": "chain_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesTransaction hash 0x + 64 hex
chainNoChain (default base)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so safety is covered. The description adds genuinely new behavioral context that annotations cannot: the x402 USDC-on-Base payment model, the $0.003 per-call price, the first-10-free daily allowance, and the supported chain set. It omits edge behavior such as what happens for an unknown or unconfirmed hash, which keeps it from a 5.

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?

Three sentences, front-loaded with the core action and output fields, followed by the use case and pricing. The chain enumeration is somewhat redundant with the schema enum, which is the only real waste.

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?

With no output schema, the description compensates by listing the returned fields explicitly. It also covers cost, payment mechanism, and supported chains. For a simple two-parameter lookup, nothing an agent needs in order to call it correctly is missing.

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 both parameters are already documented, including the 0x+64-hex hash format and the default chain. The description's chain list mostly restates the enum (and actually omits base-sepolia, which the schema allows), so it adds little meaning beyond the structured field. Baseline 3 applies.

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?

The description opens with a specific verb and resource ("Look up an EVM transaction by hash") and then enumerates exactly what comes back: status, confirmations, timestamp, from/to, value, fee, method id, and decoded ERC-20 Transfer events. That resource identity is unambiguous and clearly distinct from sibling tools such as chain_erc20_transfers or chain_balance.

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?

It gives a concrete use case ("Use to confirm a payment landed"), which tells an agent the intended scenario. It does not name an alternative tool or state when not to use it, so it falls short of a full routing statement.

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