Skip to main content
Glama

Moneda

get_balance

Read-only

Get the user's account balances (USD Account, EUR Account, CHF Account, CAD Account, MXN Account, USD Earnings, EUR Earnings, USD Smart Earnings, EUR Smart Earnings), optionally filtered by currency. CHF, CAD, and MXN rows only appear for users in their staged rollouts (gated by ENABLE_CHFAU, ENABLE_CANADA, and ENABLE_MXNB). Balances are fetched live from the blockchain by default. If blockchain queries fail, returns the latest database snapshot with a notice. Check the 'source' field: 'live' means real-time blockchain data, 'snapshot' means historical data from the last periodic sync. Includes sparkline trend data from recent snapshots and current APY rates for earnings accounts.

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": "get_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNoFilter by currency (USD, EUR, CHF, CAD, or MXN)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses substantive behavior: live blockchain fetch by default, degradation to a database snapshot on query failure, the meaning of the 'source' field ('live' vs 'snapshot'), gated feature-flag rollouts for CHF/CAD/MXN rows, and inclusion of sparkline trends and APY rates. This is exactly the extra context annotations cannot carry.

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?

Purpose is front-loaded in the first clause, and the sentences that follow cover gating, fallback, and payload contents without filler. It is dense but every sentence carries operational information; only the enumerated account list is verbose.

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

Completeness5/5

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

There is no output schema, so the description must explain return contents — and it does, covering the account list, the source indicator, sparkline data, and APY rates. An agent has everything needed to call the tool and interpret the response, including the degraded-snapshot case.

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% and the enum already lists the five currencies, so the schema is self-sufficient. The description adds only that filtering is optional, which is a small but genuine clarification about default behavior (all accounts returned when omitted).

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?

States a specific verb and resource ('Get the user's account balances') and enumerates the exact account set returned, so the agent knows precisely what comes back. It does not, however, differentiate itself from near-neighbor siblings such as get_my_accounts, get_sub_account_balance, get_total_wealth, or get_balance_check_data.

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?

Usage is only implied by the resource name; there is no explicit statement of when to prefer this over the many sibling account/balance tools, nor any exclusion criteria. The fallback rules describe runtime behavior rather than tool selection, so the agent is left to infer the choice itself.

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