Skip to main content
Glama

ethereum_eth_getUncleCountByBlockNumber

Idempotent

Read eth_getUncleCountByBlockNumber 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

C2.7/5.0
Behavior4/5

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

Annotations already declare openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful non-annotation context: the per-call price (0.002500 test USDC) and that the idempotencyKey is a private value that must be persisted before payment and reused only for identical retries. It stops short of explaining what happens if payment fails or how the call settles.

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, front-loaded with the purpose and followed by cost and retry guidance, with no filler. It is efficiently sized for a simple RPC wrapper, though the first sentence carries no real information.

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 paid, two-parameter RPC tool with no output schema, the description covers chain, cost and idempotency adequately but omits the block-reference semantics and gives no hint of the return value (a hex uncle count). Nothing an agent needs is dangerously missing, but the core method behavior is left unexplained.

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 sole element of the params array (a block number hex or latest/safe/finalized/earliest/pending tag) is undocumented in both the schema and the description, even though it is the tool's core input. The description only repeats the idempotencyKey semantics that the schema already spells out in full.

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

Purpose2/5

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

The description restates the tool name almost verbatim ('Read eth_getUncleCountByBlockNumber from Ethereum'), which is tautological rather than explanatory. It never says what the method returns (the number of uncles in a referenced block) nor how it differs from the many uncle-related siblings like getUncleCountByBlockHash or getUncleByBlockNumberAndIndex.

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 guidance on when to call this versus the ByBlockHash variant or any other sibling, and no prerequisites beyond the retry note. The only conditional hint ('Preserve the private idempotencyKey for retries') concerns retry mechanics, not 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