Skip to main content
Glama

update_bank_transaction

Modify an existing spent or received money transaction in Xero using its unique bank transaction ID, with updated fields like amount, contact, and status.

Instructions

Updates an existing spent or received money transaction by its Xero bank transaction ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unitdpNoOptional. Unit decimal places (e.g. 4) for unit amounts on line items
idempotencyKeyNoOptional idempotency key. Allows safe retries without duplicating processing
bankTransactionsYesBankTransactions payload containing an array of bank transaction objects
bankTransactionIDYesXero generated unique identifier for the bank transaction (UUID)
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only states the update action but omits details about partial vs full update, idempotency, validation errors, or destructive nature. The idempotencyKey parameter is not mentioned in the description.

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?

Single sentence of 15 words, front-loaded with purpose. No fluff or repetition.

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

Completeness2/5

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

For a tool with 4 parameters, nested objects, and no output schema, the description is too brief. It lacks information about return values, error handling, update semantics, and behavioral constraints.

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 100% schema description coverage, the baseline is 3. The description adds no additional meaning beyond the schema, simply referencing the bankTransactionID parameter indirectly.

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 description clearly states the action (updates), the resource (bank transaction), and the identifier (by its Xero bank transaction ID). It specifies spent or received money transactions, which helps distinguish from other transaction types. However, it does not elaborate on which fields can be updated, relying on the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like create_bank_transactions or list_bank_transactions. No prerequisites, when-not-to-use, or edge cases mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/john-zhang-dev/xero-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server