Skip to main content
Glama

ethereum_eth_getTransactionCount

Idempotent

Read eth_getTransactionCount from Ethereum (eip155:1). Costs 0.005000 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.9/5.0
Behavior4/5

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

Annotations cover the safety profile (idempotentHint, openWorldHint, destructiveHint=false), and the description adds behavior not in them: a fixed cost of 0.005 test USDC on a specific chain and the retry/persistence discipline for the idempotencyKey. This meaningfully helps an agent understand the paid, retry-safe nature of the call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the operation, then cost, then retry discipline. Every sentence carries distinct information and there is no filler.

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?

There is no output schema, and the description never says what the method returns (an account nonce) or the format/shape of the 'params' input. For a tool whose only non-schema-documented parameter is the RPC params array, this leaves meaningful gaps.

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?

With only 50% schema description coverage, the description must compensate, but it adds nothing about the 'params' array (address plus block tag/hash) beyond what is implied. Its idempotencyKey sentence largely repeats the schema's own description of that field, so net new parameter meaning is minimal.

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

Purpose3/5

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

It states a verb ('Read') plus the exact RPC resource ('eth_getTransactionCount') and the chain (eip155:1), which is more than a bare name. However, the resource is essentially the tool name restated, and it does nothing to distinguish this from the dozens of sibling ethereum_eth_* read methods. Clear but not sibling-differentiating.

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?

It tells the agent the call costs test USDC and to keep the idempotencyKey for retries, which is useful operational framing. But it gives no guidance on when to use this method versus siblings like eth_getBalance or eth_getTransactionByHash, and no prerequisites beyond the price.

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