Skip to main content
Glama

Get Transaction

get_transaction
Read-only

Get details and receipt for an Ethereum or Base transaction by hash. Includes bounded calldata, normalized event logs, transaction index, and receipt-derived effective gas price and fee when available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tx_hashYesTransaction hash (0x…)
chain_idNoChain ID (1=Ethereum, 8453=Base)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
logsNo
statusNo1=success, 0=revert, None=pending
fee_ethNo
fee_weiNo
tx_hashYes
chain_idYes
gas_usedYes
value_ethYes
input_dataNoHex calldata, bounded to 8 KiB
to_addressYes
block_numberYes
from_addressYes
gas_price_gweiYes
logs_truncatedNo
transaction_indexNo
input_data_truncatedNo
effective_gas_price_gweiNo

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds meaningful behavioral context: it includes specific fields like bounded calldata and normalized event logs, and notes the fee is included 'when available', indicating conditional behavior. This goes beyond merely restating annotations.

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?

Two tightly packed sentences with no filler. Each clause adds value: the first defines the core action and scope, the second lists key return fields and conditional behavior. Excellent structure for quick comprehension.

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?

The description covers the purpose, scope, and key output details, and the output schema exists to define return structure. It lacks error behavior or prerequisites, but for a simple read tool with full annotations and an output schema, it is sufficiently complete to guide an agent.

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?

Input schema covers 100% of parameters with descriptions (tx_hash format, chain_id with Ethereum/Base values). The description provides no additional parameter-level semantics beyond what the schema already states, so it rests at the baseline for full schema coverage.

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 ('Get'), a specific resource ('details and receipt for an Ethereum or Base transaction by hash'), and enumerates distinctive outputs (bounded calldata, normalized event logs, transaction index, effective gas price). This clearly distinguishes it from siblings like decode_transaction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage (when you have a transaction hash and need details/receipt) but does not explicitly state when to use this tool over alternatives, nor does it provide exclusions. The sibling decode_transaction could benefit from a note, but the context is not misleading.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools target distinct blockchain/DeFi resources and actions. A few pairs like get_lending_rates vs get_yield_rates and get_defi_positions vs get_liquidation_risk have overlapping boundaries, but detailed descriptions and explicit redundancy notes (e.g., get_eth_balance vs get_wallet_portfolio) reduce confusion.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (e.g., get_block, convert_currency, decode_transaction). The only minor deviations are noun-first names like http_fetch and web_search, but the style is uniform and predictable.

Tool Count2/5

At 27 tools, the server exceeds the 25-tool threshold for 'too many' and feels heavy. While the breadth of DeFi and crypto features justifies some size, the number is unwieldy for an agent to scan efficiently and could be consolidated (e.g., merging balance-related tools).

Completeness4/5

The tool surface covers a wide range of blockchain data: balances, prices, TVL, yields, DEX quotes, gas, block/transaction details, approvals, and DeFi positions. Gaps include lack of wallet transaction history and NFT support, but these are beyond the server's clear focus on read-only DeFi analytics.

Resources