Skip to main content
Glama

Base Explorer (tevm.app)

tx/debug

Single-call root-cause debugging bundle for a transaction: full detail, net token/ETH balance deltas, decoded calldata, internal EVM call trace, failing frame extraction, revert reason, and verified target contract info.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "hash": "<hash>"
    },
    "name": "tx/debug"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes0x-prefixed 32-byte transaction hash to debug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose the rich set of artifacts returned, which is genuinely useful. It says nothing about whether this is a read-only operation, whether it works on pending or pruned-history transactions, the cost/latency of an internal trace, or what happens when no failing frame or revert reason exists.

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?

One sentence, front-loaded with the tool's identity before the enumerated contents, with no filler. The tail is a long list, but each item conveys a distinct returned artifact rather than padding.

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?

For a single-parameter read tool with no annotations and no output schema, the description does a decent job enumerating return content, but leaves gaps on error behavior, pending/pruned transaction handling, and the expense of internal tracing. An agent knows what it gets but not the operational constraints of calling it.

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?

There is a single required parameter with 100% schema coverage, and the schema already documents it as a 0x-prefixed 32-byte transaction hash. The description adds no further meaning such as behavior for unknown or non-canonical hashes, so the baseline of 3 applies.

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?

The description uses a specific framing — 'single-call root-cause debugging bundle for a transaction' — and enumerates exactly what the bundle aggregates (detail, balance deltas, decoded calldata, internal trace, failing frame, revert reason, verified contract info). This clearly distinguishes it from a plain transaction lookup or a raw trace call, though it never names a sibling explicitly.

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 phrase 'single-call root-cause debugging bundle' implies this is the one-shot diagnostic path when a transaction needs explaining, but there is no explicit when-to-use or when-not-to-use statement, and no pointer to lighter alternatives like a plain tx fetch or a trace-only call. Usage is inferable but not stated.

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