Skip to main content
Glama
xero-mcp

xero-mcp

by david-buck

Get bank transaction details

xero_get_bank_transaction

Retrieve a single Xero bank transaction by ID to inspect its line items and reconciliation status.

Instructions

Read one bank transaction by Xero ID, including all returned line items and reconciliation status.

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": {
      "bankTransactionId": "<bankTransactionId>"
    },
    "name": "xero_get_bank_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
bankTransactionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose that the read returns all line items and reconciliation status, and the word 'Read' marks it as non-mutating, but it says nothing about authorization requirements, behavior on a missing or malformed ID, or whether the call is tenant-scoped. Adequate but thin for a tool with zero annotation coverage.

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?

A single front-loaded sentence that identifies the action, the keying identifier, and the returned payload with no wasted wording.

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 simple one-parameter read with no output schema, the description covers what is being fetched and roughly what comes back. Remaining gaps (not-found handling, tenant scope) are minor at this complexity level, though slightly more notable given the absence of annotations.

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?

There is one parameter with 0% schema description coverage, so the description must compensate. Saying the lookup is 'by Xero ID' adds genuine meaning by identifying the identifier as a Xero bank transaction ID rather than an internal reference, but it does not explain the expected identifier form beyond what the schema's uuid format already implies. Partial compensation only.

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 ('Read one bank transaction') and narrows scope to a single record fetched by Xero ID, which naturally contrasts with the sibling xero_list_bank_transactions. It also names the payload contents (line items, reconciliation status). It stops short of explicitly naming the list sibling, so a 4 rather than 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?

The phrase 'by Xero ID' implies the precondition that the caller already holds a transaction identifier, which usefully separates it from a search/list flow. However, there is no explicit when-to-use statement, no mention of what to do when the ID is unknown (use the list sibling), and no exclusions.

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