Skip to main content
Glama
nz-openbank-mcp

nz-openbank-mcp

Get Account Balance

acct_get_account_balance
Read-onlyIdempotent

Retrieve an account’s balance, available funds, and currency using its account ID; return balance-only data to avoid fetching full account details.

Instructions

Return just the balance for an account. Cheaper than get_account.

Returns {"id", "balance", "available", "currency"} where balance and available are currency-formatted strings (e.g. "$2,543.21" or "USD 100.00") and currency is the ISO 4217 code. All three are None if the account has no balance block; available alone is None if not reported; currency alone is None when Akahu reports none, and the amounts then have no symbol.

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": {
      "account_id": "<account_id>"
    },
    "name": "acct_get_account_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesAkahu account id.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world and non-destructive behavior, so the safety profile is covered. The description adds genuinely useful behavioral detail beyond that: the exact shape of the returned fields and the precise null-degradation ladder (all None when no balance block, available-only None, currency-only None with symbol-less amounts). It does not cover error behavior for a missing/invalid account id, which keeps it short of a 5.

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?

Front-loaded with the purpose and the cost comparison in the first sentence, then a tight second paragraph on return shape. The return-value detail is somewhat redundant given an output schema exists, but the null-case nuances are not obvious and earn their space.

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?

For a one-parameter read tool with full annotations and an output schema, the description covers purpose, cost trade-off, and return-value edge cases adequately. Only missing piece is failure behavior when the account id is unknown, which is minor at this complexity.

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

Parameters3/5

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

Schema description coverage is 100% for the single account_id parameter, so the schema already carries the parameter meaning. The description adds nothing further about the id format or source, which is the expected baseline when the schema does the work.

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 and resource ("Return just the balance for an account") and immediately distinguishes itself from the sibling acct_get_account by positioning itself as the cheaper, narrower call. An agent can pick between the two without opening either schema.

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?

"Cheaper than get_account" gives an explicit selection criterion pointing at the named alternative, implying you should use this when only the balance is needed. It stops short of an explicit when-not statement (e.g. don't use this if you also need account metadata), but the routing signal is clear.

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