Skip to main content
Glama
nz-openbank-mcp

nz-openbank-mcp

Report Transaction Issue

txn_report_transaction_issue

Submits a support ticket to Akahu staff about a transaction issue, such as a duplicate or enrichment error, after user confirmation.

Instructions

Submit a support ticket about a transaction to Akahu staff.

Sends a ticket to a human at Akahu support. Always elicits user confirmation (not bypass-eligible); the prompt shows every value in the ticket, including the comment. Pass every required value as an argument; older clients may ask the user for a missing one before that prompt. issue_type validation:

  • "DUPLICATE": requires other_transaction_id (the paired duplicate).

  • "ENRICHMENT_ERROR": requires fields=[...] listing affected field names.

  • "ENRICHMENT_SUGGESTION": requires fields=[...] listing suggested fields.

Returns {"success": bool, "message": str | None}.

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": {
      "transaction_id": "<transaction_id>",
      "issue_type": "<issue_type>"
    },
    "name": "txn_report_transaction_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoAffected field names. Required for ENRICHMENT_* issue types; pass them here. Older clients may ask the user for them if omitted.
commentNoOptional free-text context for the support agent, up to 1,000 characters.
issue_typeYesOne of "DUPLICATE", "ENRICHMENT_ERROR", "ENRICHMENT_SUGGESTION".
transaction_idYesAkahu transaction id the ticket is about.
other_transaction_idNoPaired transaction id. Required for DUPLICATE; pass it here. Older clients may ask the user for it if omitted.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.7
    • changedInput schema / properties / fields / description
      Previous value: -"Affected field names; required for ENRICHMENT_* issue types.\nOmitted -> the user is prompted to supply them via elicitation."New value: +"Affected field names. Required for ENRICHMENT_* issue types;\npass them here. Older clients may ask the user for them if omitted."
    • changedInput schema / properties / other_transaction_id / description
      Previous value: -"Paired transaction id; required for DUPLICATE.\nOmitted -> the user is prompted to supply it via elicitation."New value: +"Paired transaction id. Required for DUPLICATE;\npass it here. Older clients may ask the user for it if omitted."
  2. Changed3 schema fields changedv0.1.6
    • changedInput schema / properties / comment / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 1000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / comment / description
      Previous value: -"Optional free-text context for the support agent."New value: +"Optional free-text context for the support agent, up to\n1,000 characters."
    • addedInput schema / properties / issue_type / enum
      Added value: +[
      +  "DUPLICATE",
      +  "ENRICHMENT_ERROR",
      +  "ENRICHMENT_SUGGESTION"
      +]
  3. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false, idempotentHint=false), the description discloses that this creates a real ticket to human staff, that it always elicits user confirmation and is not bypass-eligible, that the confirmation prompt echoes every value including the comment, and that older clients may prompt for missing values. These are exactly the non-obvious behavioral traits an agent needs before calling a side-effecting tool.

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 one-line purpose, then behavior, then a compact bulleted validation block. Efficient overall, though the issue_type rules and the older-client fallback duplicate what the schema descriptions already say, costing a little length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter, side-effecting tool with an output schema and full annotation coverage, the description covers purpose, confirmation/consent behavior, conditional parameter requirements, and even summarizes the return shape. Nothing an agent needs in order to call it correctly 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?

Schema coverage is 100% and the per-property descriptions already state that other_transaction_id is required for DUPLICATE and fields for ENRICHMENT_*, so the description's validation block largely restates structured data. It does consolidate the cross-field dependency in one scannable place and adds the instruction to pass every required value as an argument, but that is a modest increment over the schema.

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: "Submit a support ticket about a transaction to Akahu staff." That immediately separates it from every sibling (all read-oriented transaction/account/identity tools) without the agent needing to open a 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?

The issue_type validation block gives explicit conditional guidance (DUPLICATE needs other_transaction_id, ENRICHMENT_ERROR/SUGGESTION need fields), which tells the agent exactly which inputs a given usage path requires. What's missing is any when-not-to-use framing or mention of an alternative channel, though no sibling tool offers a competing path.

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