Skip to main content
Glama

debugTraceBlockByHash

Replay and trace all transactions in a block by its hash, with optional custom tracers, to debug and analyze transaction execution.

Instructions

Replay and trace all transactions in a block identified by its hash

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkNoNetwork ID. Call listSupportedNetworks for all options. e.g. "eth-mainnet", "base-mainnet"eth-mainnet
blockHashYes32-byte block hash
tracerNoTracer options
Behavior2/5

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

With no annotations provided, the description bears full responsibility for behavioral transparency. It fails to mention that tracing an entire block can be resource-intensive, requires certain permissions, or that the tracer parameter can modify the 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?

The description is a single sentence that front-loads the action and resource. It is concise and to the point, but could be slightly improved by adding a note about the tracer parameter.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of annotations and output schema, and the presence of a complex nested tracer object, the description is too sparse. It does not explain the return format, potential costs, or how the tracer affects the output, leaving the agent with insufficient context.

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% (all three parameters have descriptions in the schema). The description does not add new information beyond the schema; it only reiterates the block hash parameter implicitly. Baseline score of 3 is appropriate.

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 clearly states the action ('replay and trace'), the resource ('all transactions in a block'), and the identifier ('by its hash'). It distinguishes from sibling tools like debugTraceBlockByNumber that use a different identifier.

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?

The description does not provide any guidance on when to use this tool versus alternatives such as debugTraceBlockByNumber, debugTraceTransaction, or traceBlock. No context about selecting tracer options or performance considerations is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alchemyplatform/alchemy-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server