Skip to main content
Glama

Get balance

get_balance
Read-onlyIdempotent

The LAX balance (wei and LAX) and nonce (transactions sent) of an address, at the latest block or at "block" (number or hash). Reading a block older than the node's recent state window needs an archive node; the error says so when it is not one. Note that block rewards cannot be spent until 100 blocks after the block that paid them (coinbase maturity), although they are included in the balance.

Input Schema

NameRequiredDescriptionDefault
blockNoblock number, hash or "latest" (default); older blocks may need an archive node
addressYes0x-prefixed 20-byte address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld. The description adds real behavioral context beyond that: the archive-node requirement and the error it produces, plus the coinbase-maturity caveat that rewards are counted in the balance but unspendable for 100 blocks. These are non-obvious traits an agent would otherwise miss.

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 sentences, front-loaded with what is returned and the block scoping, then caveats. Dense but every clause carries information; only the maturity note is slightly tangential to invocation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with no output schema, the description usefully enumerates the return values (balance in wei and LAX, nonce) and covers the key failure mode (archive node). Nothing critical to calling it correctly is missing.

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 100%, so both parameters are already documented, including block accepting number/hash/latest. The description reinforces that block accepts a number or hash and defaults to latest but adds no format or syntax beyond the schema, so baseline 3 is appropriate.

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?

The description states a specific verb+resource: it returns the LAX balance (in wei and LAX) and nonce of an address, at a given block. Scope is precise enough that an agent knows exactly what it gets back. It does not explicitly contrast itself with siblings like explorer_address or explorer_token_balances, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies when the tool applies (latest block vs a specific block number/hash) and warns about the archive-node prerequisite for old blocks, but never names an alternative tool or a when-not-to-use condition. Usage is contextual rather than directive.

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.