Skip to main content
Glama

Account balances

get_account_balance
Read-only

Returns current account balances across the organisation's connected money providers. Wise, Meow, and Mercury balances are fetched live from the provider APIs. Stripe balance is derived from the classified event ledger (inbound minus outbound) — its live API balance arrives in v2, so treat it as an estimate. The "cash" provider is the ledger-derived 1100 Cash & Bank balance (debits minus credits) — real cash booked by manual journal entries, so an org tracking cash by hand still shows a position with no bank provider connected. One entry per provider account and currency, amounts as integer cents in each account's own currency. total_usd_cents sums every balance 1:1 regardless of currency, so it is always approximate (approximate is always true until real FX rates are added). For the ledger-derived providers, availableCents and total_usd_cents count only CONFIRMED classifications; amounts still awaiting review are excluded from the total and reported separately as pendingReviewCents (per balance) and pending_review_usd_cents (overall), so a flagged event shows as pending rather than inflating the balance. If a provider could not be queried it is listed in warnings and omitted from the total — check warnings before trusting the total.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
org_idNoOptional. Defaults to the organisation the authenticated API key is bound to, so you normally omit it and never need to ask the user for their organisation UUID. If provided, it must match the key’s org or the request is rejected.0e91146d-511c-469f-bdee-5c867b26ae0d
include_providersNoProviders to include. Omit to query all of them.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_ofYes
balancesYes
warningsYes
approximateYes
total_usd_centsYes
pending_review_usd_centsYes

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?

Annotations provide readOnlyHint=true, and the description goes well beyond that: it discloses live versus ledger-derived provider data, the approximate nature of total_usd_cents, the treatment of pending/unreviewed classifications, and warnings for unqueried providers. No contradiction with annotations.

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?

The core result is front-loaded in the first sentence, and later sentences add non-obvious caveats about provider derivation and pending amounts. The description is long, but almost every sentence carries a substantive behavioral constraint; it could be tightened slightly, but is not bloated.

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?

For a read-only balance endpoint with no required parameters and a rich output schema, the description covers provider behavior, estimate semantics, pending amounts, and warnings. It is complete enough for an agent to call the tool and correctly interpret results without external knowledge.

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 description coverage is 100%, so the baseline is 3. The description adds useful meaning for include_providers by explaining which providers are live vs ledger-derived and how 'cash' behaves, which affects parameter choice and result interpretation. It does not significantly extend org_id beyond the schema.

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 clearly states the tool returns current account balances across the organisation's connected money providers, with a specific resource and scope. However, it does not directly differentiate this from the sibling get_bank_balances, which may also return balances, so it falls short of full sibling differentiation.

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 context is implied: the description explains what balances are returned and provides guidance about interpreting estimates and pending entries, but it never explicitly states when to choose this tool over alternatives such as get_bank_balances or get_financial_summary. There are no exclusion conditions or alternative route names.

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