Skip to main content
Glama

ethereum_eth_getTransactionByHash

Idempotent

Read eth_getTransactionByHash from Ethereum (eip155:1). Costs 0.005000 test USDC on eip155:84532. Preserve the private idempotencyKey for retries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes
idempotencyKeyYesPrivate random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior4/5

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

The description discloses behavioral facts the annotations do not: an explicit per-call cost (0.005 test USDC on eip155:84532) and the requirement to persist the idempotencyKey across retries. readOnlyHint=false is consistent with a paid call that effects a payment, so 'Read' plus the cost disclosure is coherent rather than contradictory. It stops short of describing the returned payload or failure/timeout behavior.

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?

Two short sentences, front-loaded with the operation and chain, followed by cost and retry guidance. Nothing is padded, though the phrasing is telegraphic rather than fully explanatory.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 omits any hint of the returned transaction object, and it never explains what the single params entry should be. Payment, chain, and idempotency are covered, but for a hash-lookup call the input/return semantics are left to a reader already fluent in the raw eth_getTransactionByHash RPC.

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 50%: idempotencyKey is fully documented in the schema, but the params array (a single 32-byte hex transaction hash) has no description anywhere. The description reinforces the idempotencyKey advice but adds nothing about the hash parameter, so it only marginally compensates for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a read operation against Ethereum mainnet (eip155:1), which adds chain scoping and safety intent beyond the tool name. However, 'Read eth_getTransactionByHash' largely restates the RPC method already embedded in the name, and it does not differentiate from close siblings like ethereum_eth_getRawTransactionByHash or the ByBlockHashAndIndex variants. Purpose is inferable but not sharpened.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool over the many sibling lookups (raw vs. non-raw, by hash vs. by block+index). The only directive — 'Preserve the private idempotencyKey for retries' — is retry hygiene, not selection guidance.

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