Skip to main content
Glama

ethereum_eth_blockNumber

Idempotent

Read eth_blockNumber from Ethereum (eip155:1). Costs 0.002500 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, destructiveHint, openWorldHint and readOnlyHint=false, so the description adds real value by disclosing the economic cost (0.0025 test USDC on eip155:84532) and the retry/idempotencyKey protocol. It could have explained why readOnlyHint is false (the payment debit), but the cost mention implies it.

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, front-loaded sentences with no filler. What it does comes first, then cost, then the retry constraint — a sensible ordering.

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?

Given no output schema, the description does not describe the return value (a hex-encoded block number quantity) that an agent needs to interpret. Purpose, cost, and key handling are covered, but the lack of return semantics leaves a noticeable gap for a read 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?

Schema coverage is 50%: idempotencyKey is fully documented in the schema (pattern plus description), and the description only reinforces that with 'Preserve the private idempotencyKey for retries.' The empty params array is undocumented, but it is a zero-item array so this is a minor 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 specific verb and resource (read eth_blockNumber) plus the chain context (eip155:1), which is more than the tool name alone conveys. It does not differentiate from sibling RPC methods, though the naming convention makes the target obvious.

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?

No explicit when-to-use, when-not-to-use, or routing to alternatives among the many sibling eth_* methods. The cost and idempotency notes concern how to invoke it, not when to pick it over another call.

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