Skip to main content
Glama

Get Wallet Balance

wallet_balance
Read-onlyIdempotent

Retrieve balances and pending blocks for OWS wallets; query multiple wallet names in one batch to check current funds and pending activity.

Instructions

Show balances and pending blocks for OWS wallets. Prefer wallets for multiple names in one batch.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wallet_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoMax pending blocks to return
indexNoAccount index (OWS only supports 0)
rpcUrlNoOverride RPC URL
walletNoOWS wallet name
walletsNoWallet names to query together

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds that results include pending blocks, which is genuine behavioral context, but says nothing about the index=0 limitation, RPC override effects, or batching semantics beyond a one-line preference.

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?

Two short sentences, front-loaded with what is returned before the parameter preference. The batching sentence is slightly compressed ('Prefer wallets for multiple names in one batch') but nothing is wasted.

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?

An output schema exists, so return-value explanation is not required, and annotations cover safety. However, for a tool with five optional parameters and a sibling that reads balances too, the description leaves the OWS-versus-RPC choice and the meaning of 'pending blocks' and 'count' unresolved.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description earns above that by stating a preference between the two overlapping parameters (wallet vs wallets) that the schema itself does not express. It still does not clarify the relationship between index, rpcUrl, and the wallet selection.

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 names a specific verb and resource set ('Show balances and pending blocks') and scopes it to 'OWS wallets', which separates it from rpc_account_balance and other wallet tools. It stops short of naming a sibling explicitly, so an agent still has to infer whether this or rpc_account_balance is the right read path.

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?

'Prefer wallets for multiple names in one batch' gives real guidance on parameter choice for batching. There is no guidance on when to use this versus rpc_account_balance or wallet_info, and no exclusions or prerequisites are stated, so usage is only implied by the OWS scoping.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.