Skip to main content
Glama

ethereum_eth_getBalance

Idempotent

Read eth_getBalance 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?

The annotations declare readOnlyHint=false on an obviously read-only RPC method, and the description supplies the missing explanation: the call costs 0.005000 test USDC on eip155:84532, which accounts for the non-readonly/payment behavior. It also adds the retry contract ('Preserve the private idempotencyKey for retries'), reinforcing the idempotentHint. It stops short of stating rate limits, failure/payment-refund behavior, or what a successful response contains.

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: the operation, the cost, and the retry rule each carry distinct information. Nothing is repeated, though the sentences are telegraphic rather than explanatory.

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, yet the description never states the return value (a hex-encoded wei balance) nor explains the nested 'params' shape, which is the only required data the caller must construct. For a paid, non-readonly-flagged call with a complex input schema, this leaves real 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?

Schema description coverage is only 50%, and the undocumented half is the hard part: 'params' is a deeply nested anyOf of address + block tag/blockNumber/blockHash with no description in either the schema or the description. The description only echoes the already-documented idempotencyKey ('preserve for retries'), so it does not compensate for the coverage gap on the primary parameter.

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 names a specific verb ('Read') and the exact RPC method and chain ('eth_getBalance from Ethereum (eip155:1)'), but the method name is essentially a restatement of the tool name, and it never says what the call actually returns (an account's wei balance). An agent that doesn't already know the Ethereum JSON-RPC spec gets no semantic explanation, and there is no differentiation from the ~40 sibling eth_* read methods beyond the method identifier itself.

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 when-to-use guidance and no mention of alternatives (e.g. eth_getCode, eth_getTransactionCount, or the bitcoin_* siblings). The only contextual line is the price, which tells the agent nothing about when this tool is the right choice over a sibling.

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