Skip to main content
Glama
nz-openbank-mcp

nz-openbank-mcp

List Accounts

acct_list_accounts
Read-onlyIdempotent

List connected accounts with account numbers, types, status, institution, and formatted balances so you can review account details in one place.

Instructions

List every connected account with account numbers and formatted balances.

Returns {"accounts": [...]} where each entry has id, name, type (CHECKING/SAVINGS/CREDITCARD/FOREIGN/...), status, formatted_account (e.g. "01-0123-0123456-00"; masked as "01-****-***3456-00" when the server sets AKAHU_MASK_ACCOUNTS=true), connection (institution name, e.g. "ANZ"), balance (formatted with currency, e.g. "$2,543.21" or "USD 100.00") and currency (ISO 4217 code). balance and currency are None if the account has no balance block; currency alone is None when Akahu reports none, and balance then has no currency symbol.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered; the description adds real behavioral context beyond that by disclosing server-side masking via AKAHU_MASK_ACCOUNTS and the conditions under which balance/currency come back as None. It does not cover auth requirements or whether results are cached/stale, which keeps it from 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded and efficient, but the bulk of the text is a long run-on enumeration of the return payload, which duplicates the declared output schema. The trailing sentence about None/currency interaction is dense nested conditionals that take effort to parse.

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 annotations carrying the safety profile, a zero-parameter schema and an output schema, this is nearly complete; the masking and None-value caveats are genuine value-adds an agent would otherwise miss. The remaining gap is the absence of any guidance on sequencing with acct_refresh_account(s) or when to fall back to acct_get_account_balance.

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?

The tool takes no parameters, so there is no parameter semantics to explain; the baseline for a zero-parameter schema applies. The description correctly spends no words on inputs.

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?

The description opens with a specific verb and resource: 'List every connected account with account numbers and formatted balances.' The word 'every' distinguishes it from the single-account sibling acct_get_account, so an agent can route between them 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 Guidelines3/5

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

Usage is only implied by the tool's list-all scope; there is no explicit statement of when to prefer this over acct_get_account, acct_get_account_balance, or acct_refresh_account, and no mention of when a refresh is needed first. For a zero-parameter read this is tolerable, but it is inference rather than guidance.

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