Skip to main content
Glama

EVM Transaction Hash Lookup

evm_transaction_hash_lookup
Read-only

Look up an EVM transaction by transaction hash and return normalized transaction facts, including status, block number, sender, recipient, value, gas usage, and contract method selector. This is a factual post-transaction lookup on Ethereum or Base; live chain state may change between calls and does not simulate, send, sign, or evaluate whether the transaction was safe or appropriate to execute. USE WHEN: an agent already has an EVM transaction hash and needs to inspect the corresponding on-chain transaction. DO NOT USE WHEN: the agent needs a pre-execution transaction decision, a gas-price lookup, a wallet-balance lookup, or the latest block. A syntactically valid hash that is not found on the selected network returns NOT_FOUND as a factual result rather than a validation error.

Input Schema

NameRequiredDescriptionDefault
chainYesEVM network to query.
tx_hashYesTransaction hash (0x + exactly 64 hex chars).

Output Schema

NameRequiredDescriptionDefault
gasYesGas usage and fee details of the transaction.
chainYesEVM network queried.
statusYesTransaction execution status.
tx_hashYesTransaction hash that was queried.
contractYesContract interaction details detected from calldata.
value_weiYesTransaction value in wei.
to_addressYesTransaction recipient address (null for contract creation).
observed_atYesUTC observation timestamp in ISO-8601 format with Z suffix.
block_numberYesBlock number where the transaction was included.
from_addressYesTransaction sender address.
value_nativeYesTransaction value in native units (ETH).
transaction_typeYesType of transaction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / observed_at / description
      Previous value: -"UTC observation timestamp (milliseconds since epoch)."New value: +"UTC observation timestamp in ISO-8601 format with Z suffix."
  2. Changed2 schema fields changed
    • addedOutput schema / properties / contract / description
      Added value: +"Contract interaction details detected from calldata."
    • addedOutput schema / properties / gas / description
      Added value: +"Gas usage and fee details of the transaction."
  3. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses that live chain state may change between calls, that it does not simulate, send, sign, or assess safety, and that NOT_FOUND is a factual result. These details add meaningful behavioral context for an open-world read-only lookup.

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

Conciseness5/5

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

The description is front-loaded with the core purpose, then cleanly separates scope, usage conditions, exclusions, and error semantics. Despite its length, each sentence contributes useful selection or behavioral context.

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 only two fully documented parameters, existing annotations, and an output schema, the description supplies everything needed for correct selection and invocation. It also covers the key edge case of a valid but absent hash.

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 the input schema already documents the chain enum and the tx_hash pattern. The description reinforces that chain selects Ethereum or Base and that lookup is scoped to the selected network, but it does not add much parameter-level 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?

The description states a specific verb and resource: look up an EVM transaction by hash and return normalized transaction facts. It explicitly distinguishes this tool from sibling decision, gas-price, balance, and latest-block tools by describing it as a factual post-transaction lookup and listing what it does not do.

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?

It provides explicit USE WHEN and DO NOT USE WHEN sections, naming the conditions that select this tool and the conditions that should route to alternatives. It also clarifies that a syntactically valid but missing hash returns NOT_FOUND rather than a validation error.

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