Skip to main content
Glama

ethereum_eth_estimateGas

Idempotent

Read eth_estimateGas from Ethereum (eip155:1). Costs 0.010000 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.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses concrete behavioral facts: a fixed cost of 0.010000 test USDC paid on a different chain (eip155:84532), and the requirement to persist and reuse the idempotency key only for identical retries, which reinforces idempotentHint=true. The 'Read' framing sits in mild tension with readOnlyHint=false, but the disclosed payment reconciles it (the underlying RPC is a read, yet the call spends funds), so it is not a contradiction.

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 short sentences, each carrying distinct information (purpose/chain, cost, retry key), with purpose front-loaded. No filler or redundancy; it could be a 5 only by also conveying the return semantics, which it omits.

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 tool whose input is a large nested object and which has no output schema, the description covers payment cost and idempotency handling but omits what the call returns (the gas estimate) and how the 'params' transaction object should be shaped. It is adequate for invoking the tool's payment flow but incomplete on the core payload and result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%. The idempotencyKey parameter is fully documented in the schema and merely reinforced by the description. The far more complex 'params' argument (a deeply nested transaction-request object with from/to/gas/data/accessList/authorizationList/etc.) receives no explanation at all in the description, so the description does nothing to compensate for that gap.

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 and resource ('Read eth_estimateGas') plus the target chain (eip155:1), so an agent can identify the RPC method being wrapped. It does not, however, explain what estimateGas returns (a gas estimate) or distinguish itself from related siblings like eth_call or eth_gasPrice, so differentiation is left to the method 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?

The only usage guidance is 'Preserve the private idempotencyKey for retries,' which is about retry hygiene rather than when to choose this tool. There is no statement of when to use eth_estimateGas versus alternatives such as eth_call or eth_gasPrice, nor any prerequisite conditions.

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