Documentation

account_balances

account_balances MCP tool reference, parameters, return type, and safety hints.

npm

What it does

Shows posted, pending, and current balances by account and asset.

Signature(account_type?: string | null, asset_id?: string | null, as_of?: string | null, rollup?: boolean, hide_zero?: boolean, native_asset_only?: boolean, presentation?: string, account_ids?: string[] | null, entity_id?: string | null) => Array<Record<string, unknown>>
read-only

Read-only. This is appropriate for inspection, reporting, diagnostics, and first-pass agent answers.

When to use it

Use this section to decide whether the tool fits the user request before calling it.

Use it when an agent needs to inspect the ledger or answer a question without changing records.
Use it when working with accounts, transactions, balances, registers, or double-entry records.

Before calling

Agents should gather these facts or confirmations first.

1

No required inputs are needed, but date, status, asset, and account filters should still be explicit when the user cares about scope.

Parameters

Required inputs are marked clearly. Optional inputs can usually be omitted unless the workflow needs them.

account_typeoptional
string | null

Account type filter, such as asset, liability, equity, income, or expense.

Default: null
asset_idoptional
string | null

Asset or currency id used by the ledger.

Default: null
as_ofoptional
string | null

Date to calculate balances through, usually YYYY-MM-DD.

Default: null
rollupoptional
boolean

Boolean switch for this workflow.

Default: false
hide_zerooptional
boolean

Hides zero-balance rows from the response.

Default: true
native_asset_onlyoptional
boolean

Currency or asset symbol/id.

Default: false
presentationoptional
string

Input used by this tool.

Default: "ledger"
account_idsoptional
string[] | null

List of ledger account ids or account references.

Default: null
entity_idoptional
string | null

Entity id to filter reports when entity tracking is used.

Default: null

Agent call shape

Use the exact tool name and pass arguments as structured JSON through the MCP client.

account_balances

Copy this shape into agent instructions, evals, or MCP client tests.

{
  "tool": "account_balances",
  "arguments": {}
}

Metadata