Skip to main content
Glama

ethereum_eth_getTransactionByBlockHashAndIndex

Idempotent

Read eth_getTransactionByBlockHashAndIndex 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.4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, openWorldHint=true and destructiveHint=false, but the description adds genuinely new context: the exact cost (0.005 test USDC on eip155:84532) and the instruction to persist and reuse the idempotencyKey on retries. These operational facts are not derivable from annotations or schema. The 'Read' wording sits slightly in tension with readOnlyHint=false, though the disclosed payment explains the non-read-only characterization.

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 tight sentences, front-loaded with the operation and then the cost and retry constraint. No filler, and each sentence carries distinct information, though the opening sentence is essentially the tool name restated.

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?

The description covers the operational essentials (purpose, cost, idempotency handling) but omits the argument ordering for the undocumented params array and, with no output schema present, gives no signal about the returned transaction shape. Adequate for invoking the call but not fully complete for a schema-light RPC tool.

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?

Coverage is 50%: the idempotencyKey parameter is fully documented in the schema, while the required two-element params array (block hash + transaction index) has no description in either place. The description merely restates the idempotency behavior already in the schema and adds no new meaning for the RPC arguments, so this lands at the baseline for partial coverage.

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

Purpose4/5

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

States a clear verb (Read) plus the exact resource (eth_getTransactionByBlockHashAndIndex) and the chain (eip155:1), so an agent knows it retrieves a transaction identified by block hash and index. However, it offers no differentiation from near-identical siblings such as eth_getRawTransactionByBlockHashAndIndex or eth_getTransactionByBlockNumberAndIndex, and the phrasing largely mirrors the tool name.

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 explicit when-to-use or when-not-to-use guidance and no mention of alternatives (e.g., getTransactionByHash, getTransactionByBlockNumberAndIndex). The only invocation-adjacent hint is 'Preserve the private idempotencyKey for retries,' which does not address tool selection.

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