Skip to main content
Glama
xero-mcp

xero-mcp

by david-buck

List payments for accounts review

xero_list_payments

Fetch a paginated, date-bounded list of payments with invoice, contact, and bank-account identifiers to support reconciliation and reporting.

Instructions

Read one date-bounded page of payments, with payment, invoice, contact and bank-account identifiers. The API may not identify the matching bank statement line.

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": {
      "fromDate": "<fromDate>",
      "toDate": "<toDate>"
    },
    "name": "xero_list_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
toDateYesDate in YYYY-MM-DD format
fromDateYesDate in YYYY-MM-DD format
pageSizeNo
invoiceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose that results are paged (one page at a time) and flags a genuine data-quality limitation that the API may not link a payment to its bank statement line. It omits read-only confirmation by name, auth requirements, and how pagination terminates.

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?

Two short sentences with no filler, and the core capability is front-loaded before the caveat. The second sentence earns its place by warning about a real limitation rather than restating the first.

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

Completeness3/5

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

For a five-parameter list tool with no output schema and no annotations, the description gives an adequate sketch of returned identifiers and the paging model. It remains incomplete on the invoiceId filter, page-size limits, and what a caller should do when the bank-line match is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%, so the description needs to compensate. It covers the date bounds and implies page/pageSize, but says nothing about the invoiceId filter, which is undocumented in both the schema and the description and is the parameter most likely to change agent behavior.

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 uses a specific verb plus resource ('Read one date-bounded page of payments') and names the identifiers returned, so an agent knows exactly what it retrieves. It stops short of differentiating itself from payment-adjacent siblings such as xero_list_bank_transactions, which would require explicit comparison.

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 statement of when to pick this tool over alternatives, nor any precondition guidance beyond the implicit requirement for a date range (which the schema already enforces). The bank-statement-line caveat hints at a reconciliation use case but never converts that into selection guidance.

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