Skip to main content
Glama
xero-mcp

xero-mcp

by david-buck

Get GST return report figures

xero_get_gst_report

Retrieve a saved GST return report by catalogue ID after verifying it is a GST report; returns tax fields and reporting period, not filing status.

Instructions

Read a saved GSTReturn report by its catalogue ID, after verifying it is a GST report. Returns tax fields and period. Filing or submission status is not supplied by this API response.

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": {
      "reportId": "<reportId>"
    },
    "name": "xero_get_gst_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
reportIdYesReport ID returned by xero_list_gst_reports

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does reasonably well: it discloses the return contents ('tax fields and period'), a validation side-effect ('after verifying it is a GST report'), and a valuable negative disclosure that filing/submission status is not returned. It stops short of describing error behavior or auth requirements.

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?

Three short sentences with the core action front-loaded and no filler; the return-contents and limitation clauses each carry information. Slightly awkward phrasing in 'after verifying it is a GST report' keeps it from a 5.

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 one-parameter read tool with no annotations and no output schema, the definition covers what is fetched and one important limitation. It could say more about what happens when the ID is not a GST report, but nothing essential to invoking it correctly is missing.

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?

Only one parameter exists and schema coverage is 100%, so the schema already documents reportId, its pattern, and its origin. The description reinforces the 'catalogue ID' concept but adds no format or validation detail beyond what the schema supplies.

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?

States a specific verb and resource: 'Read a saved GSTReturn report by its catalogue ID.' An agent can distinguish this single-report fetch from the list-oriented sibling xero_list_gst_reports, though the description never names that sibling directly to make the contrast explicit.

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

Usage Guidelines3/5

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

Usage is only implied: 'by its catalogue ID' combined with the schema's note that reportId comes from xero_list_gst_reports suggests a list-then-fetch flow, but the description itself gives no explicit when-to-use or when-not guidance.

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