Skip to main content
Glama
nz-openbank-mcp

nz-openbank-mcp

Get Account Pending Transactions

acct_get_pending_transactions
Read-onlyIdempotent

List pending, not-yet-settled transactions for a specific account to see entries that immediately affect available balance and may change before settlement.

Instructions

List pending (not-yet-settled) transactions for one account.

Pending entries affect available balance immediately and can change or vanish before they settle. Returns {"account_id", "transactions": [...]} where each transaction has account_id, date (YYYY-MM-DD, NZ calendar day), description, amount (formatted in the account's currency, e.g. "-$5.50"), amount_raw (number rounded to cents; negative = debit), currency (None if the account reports none, in which case amount has no symbol), type, merchant, category and pending (always true). Pending entries have no id.

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

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

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is covered. The description goes further by disclosing volatility (entries can change or vanish before settling) and a real behavioral gotcha — pending entries have no id — which materially affects how an agent handles the results.

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 purpose and the volatility caveat are front-loaded and earn their space. The trailing field-by-field enumeration of the return payload is largely duplicated by the existing output schema, which makes the second half longer than necessary.

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?

An output schema exists, so return values did not need restating, yet the description is otherwise complete: it explains the data's transient nature, the currency/amount_raw duality, the currency=None edge case, and the missing id. Nothing an agent needs in order to call and interpret it is absent.

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?

With a single parameter at 100% schema coverage, the schema already explains account_id ("Akahu account id."). The description adds nothing about format, source, or how to obtain the id, so this sits at the baseline for high-coverage schemas.

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 first sentence gives a specific verb and resource ("List pending (not-yet-settled) transactions") plus a scope qualifier ("for one account") that implicitly separates it from the sibling txn_get_pending_transactions. It stops short of naming that sibling, so an agent must infer the scoping difference rather than being told it.

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?

The note that pending entries affect available balance immediately and may change or vanish hints at when this data matters, but there is no explicit when-to-use / when-not-to-use guidance and no routing to alternatives such as txn_get_pending_transactions or txn_get_transactions. Usage must be inferred from context.

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