Skip to main content
Glama
nz-openbank-mcp

nz-openbank-mcp

Get Transaction

txn_get_transaction
Read-only

Retrieve a single settled New Zealand open banking transaction by its Akahu transaction ID to verify amount, date, and details for reconciliation or auditing.

Instructions

Fetch one settled transaction by id.

Returns the same shape as one entry in get_transactions["transactions"].

Input Schema

NameRequiredDescriptionDefault
transaction_idYesAkahu transaction id (e.g. "txn_a1b2c3").

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?

readOnlyHint=true already declares the safe-read profile, and the output schema covers the return value, so the remaining burden is light. The description does add meaningful context: it says the lookup is restricted to settled transactions, implying pending ones are excluded, but it does not say what happens for an unknown id or whether pending ids error out.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two short sentences, zero filler, with the identifying scope ('one settled transaction by id') front-loaded. The second sentence carries non-redundant information linking the return shape to a sibling tool.

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 single-record read with an output schema and one fully documented parameter, the description covers what to expect from the response shape. Minor gaps remain around not-found behavior and the settled/pending boundary, but nothing critical to a correct call is missing.

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 coverage is 100% and the single parameter already documents the Akahu transaction id format with an example. The description adds no syntax, format, or edge-case meaning beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource ('Fetch one settled transaction by id'), and the singular plus 'settled' qualifier distinguishes it from the plural list and pending siblings. It stops short of naming those siblings explicitly, so an agent must infer the contrast.

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 'by id' and 'one' – the agent can infer this is the single-record lookup when an id is already known. No alternative is named (txn_get_transactions_by_ids, txn_search_transactions), and no when-not guidance is given.

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