Skip to main content
Glama
xero-mcp

xero-mcp

by david-buck

List GST return reports

xero_list_gst_reports

Lists Xero GSTReturn reports that overlap a specified from/to date range, returning report IDs to use with get_gst_report. Filing status is not included.

Instructions

Read Xero's report catalogue and return only GSTReturn entries overlapping an explicit date range. Use the returned report ID with get_gst_report. This does not show filing status.

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

Input Schema

NameRequiredDescriptionDefault
toDateYesDate in YYYY-MM-DD format
fromDateYesDate in YYYY-MM-DD format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so reasonably: it establishes this as a read operation, discloses that results are filtered to GSTReturn entries only, that the date match is on overlap rather than containment, and that filing status is absent from the output. It omits pagination, ordering, and result-size behavior, which keeps it below a 5.

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, each doing distinct work: what it reads, how to chain it, and what it excludes. The scoping constraint is front-loaded and there is no padding.

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 two-parameter read tool with no output schema and no annotations, the description covers purpose, filtering rule, handoff, and one important limitation. It leaves the shape of the returned entries (beyond report ID) unspecified, which is a minor gap given no output schema exists.

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 both date parameters are already documented, establishing the baseline of 3. The phrase 'overlapping an explicit date range' adds real semantics beyond the schema's bare 'YYYY-MM-DD format' notes, so it sits at the upper end of that baseline rather than above it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Read Xero's report catalogue and return only GSTReturn entries') plus the scoping rule (overlapping an explicit date range), and it distinguishes itself from the sibling retrieval tool by telling the agent to follow up with get_gst_report for the actual report.

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?

It gives clear positive context (list report entries in a date window) and an explicit next step ('Use the returned report ID with get_gst_report'), plus a negative boundary ('does not show filing status'). It stops short of naming a true alternative path for filing status, so it is strong but not a full when/when-not map.

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