Skip to main content
Glama

Moneda

get_sub_account_balance

Read-only

Read on-chain balances for a sub-account's child Safe. Pass currency (USDC / EURC / CHFAU / CADD / MXNB) to filter to a single token; omit to get every enabled token. Balances are returned as raw bigint strings — 6 decimals for USDC/EURC/CHFAU/MXNB, 18 for CADD.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesSub-account UUID
currencyNoFilter to a single token. Omit for all enabled currencies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

readOnlyHint already covers safety, so the description's job is added context, and it delivers: on-chain data source, raw bigint strings, and per-token decimal conventions (6 vs 18). It omits whether disabled/unfunded tokens appear and whether the child Safe is auto-created.

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 sentences, front-loaded with the action and scope, then the filter rule, then the output format. No filler or restated annotation text.

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?

With no output schema, the description correctly supplies return-value shape (raw bigint strings plus decimal conventions), which is the most valuable thing it can add. A note on empty/unfunded tokens or on whether 'enabled' is per-sub-account configuration would close the remaining gap.

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 enum and the id parameter are already documented. The description still adds value by explaining the behavior of omitting currency ('every enabled token') and by giving the unit/scale of the returned values, which the schema does not.

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

Purpose5/5

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

States a specific verb+resource+scope: 'Read on-chain balances for a sub-account's child Safe.' That distinguishes it from get_balance (likely top-level) and get_sub_account (metadata), both near neighbors in the sibling list.

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

Usage Guidelines4/5

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

Gives clear in-tool guidance: pass currency to filter to one token, omit to get every enabled token. It does not explicitly route the agent between get_balance, get_sub_account, and this tool, so it stops short of naming alternatives.

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