Skip to main content
Glama
xero-mcp

xero-mcp

by david-buck

List invoices and bills for a review period

xero_list_period_invoices

Lists a page of Xero invoices and supplier bills within a date range, with optional filters by type, status, or contact. Use it to find period invoices before fetching full line details.

Instructions

Read one Xero page (up to 100) of invoices and supplier bills dated within a period. Filter by ACCREC or ACCPAY, status, or contact; use xero_get_invoice for complete lines. Invoice date is not payment date.

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_period_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
typeNo
statusNo
toDateYesDate in YYYY-MM-DD format
fromDateYesDate in YYYY-MM-DD format
contactIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

No annotations are supplied, so the description must carry the full behavioral burden. It does disclose the important traits: 'Read' signals a read-only, non-destructive operation; 'one Xero page (up to 100)' discloses pagination and page size; and 'Invoice date is not payment date' guards against a common misreading of the date filters. It does not say how to detect the last page or in what order results come back, so the disclosure is helpful but not complete.

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?

Three short sentences: scope first, then filters and the sibling alternative, then the date caveat. Nothing repeats the name or title, and every clause earns its place.

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 six-parameter, read-only list tool with no annotations and no output schema, the description covers scope both ends of the date range, filtering, pagination, and the important line-item caveat. What is missing is the return shape at list level (which invoice fields appear) and any signal about how many pages exist, which matters because there is no output schema to describe them.

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?

The schema description coverage is only 33%, so the description must compensate. In practice it does cover most parameters in prose: type (ACCREC/ACCPAY), status, contact, and the date period; 'up to 100' also explains what page means. It adds no format examples or defaults beyond the schema, though, so the value added is real but only marginal.

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: 'Read one Xero page (up to 100) of invoices and supplier bills dated within a period.' It also scopes the tool and distinguishes it from xero_get_invoice, which returns complete lines. It never differentiates itself from the sibling xero_list_invoices, so an agent still has to infer the difference between this period-scoped list and the generic list.

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

Usage Guidelines4/5

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

The description names an alternative ('use xero_get_invoice for complete lines') and states the condition that selects it. It also lists the filters the tool accepts (type, status, contact), which the reader can use to decide when this is the right call. It omits when to choose xero_list_invoices over this tool, leaving the closest alternative undiscussed, and it gives no exclusions such as a maximum page range.

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