Skip to main content
Glama
nz-openbank-mcp

nz-openbank-mcp

Get Account

acct_get_account
Read-onlyIdempotent

Fetch a single New Zealand bank account by its Akahu id to retrieve its name, type, status, formatted account number, connection, currency, and current balance.

Instructions

Fetch a single account by id.

Returns the same shape as one entry in list_accounts["accounts"]: id, name, type, status, formatted_account, connection, balance (formatted with currency), currency.

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

Input Schema

NameRequiredDescriptionDefault
account_idYesAkahu account id (e.g. "acc_chq_001").

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, and non-destructive, so safety is fully covered and the description need not repeat it. What it does add is a cross-tool consistency guarantee (same shape as a list_accounts entry), but it says nothing about error behavior for a missing or archived account id.

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 operation is stated first and the return-shape note follows, with no filler sentences. The field enumeration is somewhat redundant given an output schema exists, keeping it from a 5.

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 an output schema and full annotation coverage, this is close to sufficient: it establishes the operation and guarantees shape parity with acct_list_accounts. The only gap is unspecified behavior when the id is unknown or the account is closed.

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?

With a single parameter at 100% schema description coverage, the schema already documents the format and an example value, so the baseline applies. The description reinforces that the id must identify a single account rather than a filter, which is a small but real addition over 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?

"Fetch a single account by id" gives a specific verb, resource, and cardinality, which separates it from acct_list_accounts. It does not distinguish itself from acct_get_account_balance or acct_get_pending_transactions, which are the closest ambiguous siblings, so it stops short of a 5.

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: the note that the result matches "one entry in list_accounts["accounts"]" hints that this tool is for when you already have an id, but the description never states when to prefer it over acct_list_accounts or acct_get_account_balance. No exclusions or prerequisites are given.

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