Skip to main content
Glama

Base transaction receipt: success, failed or pending, fee, confirmations and decoded USDC transfers

chain_tx
Read-only

Base mainnet transaction receipt lookup by hash: status (success, failed, or pending), block, timestamp, confirmations, from, to, ETH value, total fee including the L1 data fee, method id, and every USDC transfer in the transaction decoded to sender, recipient, and amount. Useful for confirming that a USDC or x402 payment really settled before delivering goods. Read-only. Not charged for an invalid hash, a hash not found on Base, or when Base can't be reached. Paid via x402; see list_prices.

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
hashYes0x transaction hash (64 hex characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description reinforces the read-only nature while adding genuinely new behavioral facts: the call is paid via x402 with a pointer to list_prices, and it is not charged for an invalid hash, a hash not found on Base, or an unreachable Base endpoint. That billing/error policy is exactly the kind of context annotations cannot carry. Rate limits and any latency or retry behavior remain undisclosed, which keeps it below 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?

The response fields and the core use case are front-loaded in the opening sentence, and the following two short sentences add billing and read-only context without padding. The long field enumeration makes the first sentence dense, but every listed field tells the agent what it can rely on in the absence of an output schema, so the length is earned.

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 compensates by enumerating return fields, and it also covers the paid-via-x402 model and the no-charge error cases, which is substantial for a single-parameter tool. What is missing is minor: expected pending-state behavior (how to poll for confirmation) and any guidance on the practical difference from the tx_preflight sibling.

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?

Only one parameter exists and its schema coverage is 100%, with the schema itself explaining the 0x-prefixed 64-hex-character format. The description adds just 'by hash' and implicitly scopes it to Base mainnet, which is marginally useful but not meaningfully beyond the schema. A 3 is the appropriate baseline when the schema already fully documents the input.

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 (transaction receipt lookup by hash) on a named network (Base mainnet) and enumerates exactly what comes back: status, block, timestamp, confirmations, from/to, ETH value, total fee including L1 data fee, method id, and decoded USDC transfers. This is far more specific than the sibling set, so an agent can separate it from chain_block, chain_balance, or tx_preflight without opening any schema.

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 a concrete use case: confirming that a USDC or x402 payment actually settled before delivering goods, which tells the agent the decision the tool supports. It stops short of naming an explicit alternative (for example tx_preflight for pre-send checks) or stating when not to use it, so no exclusion guidance is present.

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