Skip to main content
Glama

Xero Invoices

xero_invoices

List sales invoices from Xero with filters for status, contact, sort order, and pagination. Retrieve and review invoice records to track billing and payment status.

Instructions

List sales invoices with optional filters.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "xero_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (100 per page)
orderNoSort: e.g., 'Date DESC', 'DueDate'
statusNoFilter: DRAFT, SUBMITTED, AUTHORISED, PAID, VOIDED
contact_idNoFilter by contact UUID

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it states only that filtering is optional. It omits pagination behavior (the schema hints at 100 per page but the description never mentions paging), default result ordering, whether all statuses are returned by default, and any auth or rate-limit context.

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?

A single front-loaded sentence with zero filler and the resource stated immediately. It is efficient, though its brevity edges toward under-specification for a listing tool.

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?

An output schema exists and the input schema is fully annotated, so return values and parameter meanings need not be restated. The remaining gap is behavioral: default result set, paging, and default ordering are left unaddressed for what is otherwise a simple four-parameter list operation.

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 each of the four parameters is already documented with defaults, an example sort syntax, and status values. The description adds only the confirmation that all filters are optional, which is the baseline expectation rather than added meaning.

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 gives a specific verb ('List') and resource ('sales invoices'), which is enough to distinguish this from a single-invoice getter at the resource level. It does not, however, differentiate itself from siblings such as xero_invoice or xero_create_invoice, so it stops short of 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 Guidelines2/5

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

'With optional filters' is the only usage signal; there is no explicit when-to-use guidance and no named alternative for retrieving one invoice or creating one. An agent must infer the read-only, multi-record scope from the verb alone.

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