Skip to main content
Glama

Xero Payment

xero_payment

Retrieve payment amount, date, invoice, and account details by payment UUID, with optional field selection to limit response size.

Instructions

Get payment detail — amount, date, invoice, account.

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": {
      "payment_id": "<payment_id>"
    },
    "name": "xero_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoComma-separated fields
payment_idYesPayment UUID

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; 'Get' implies a read-only, non-destructive call and the field list hints at the shape of the result. It does not, however, describe behavior for a missing or invalid payment ID, nor what happens if the referenced payment is voided or reversed.

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?

It is a single front-loaded sentence with no filler, so it reads quickly. The terseness comes at the cost of supporting detail rather than from padding, which is the right trade-off for a trivial lookup.

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 read-only single-record fetch with two fully documented parameters and an output schema covering return values, this description supplies everything an agent needs to select and invoke the tool. The remaining gaps, such as not-found handling, are edge cases rather than blockers.

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 description coverage is 100%, so payment_id and fields are already documented in the schema and the baseline applies. The description adds no meaning about what the 'fields' selection does (e.g. whether it narrows the returned payload) or any format expectations for the UUID.

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 opens with a specific verb and resource ('Get payment detail'), then names the fields it surfaces (amount, date, invoice, account), which is enough for an agent to distinguish this single-payment lookup from xero_create_payment and xero_delete_payment without opening 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?

There is no explicit guidance on when to use this tool versus the create/delete siblings, and no stated prerequisites such as a valid payment UUID or prior listing step. Usage is only implied by the verb 'Get'.

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