Skip to main content
Glama
xero-mcp

xero-mcp

by david-buck

Get Trial Balance report

xero_get_trial_balance

Retrieves the Xero Trial Balance for an explicit date, letting you choose cash-only or accrual basis while preserving report rows and cells.

Instructions

Read the Xero Trial Balance as at an explicit date. Choose cash-only or accrual basis explicitly; preserves report rows and cells.

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": {
      "date": "<date>"
    },
    "name": "xero_get_trial_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate in YYYY-MM-DD format
paymentsOnlyNoRequest Xero cash-only basis; false requests accrual basis

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the entire burden. "Read" signals a non-mutating operation and "preserves report rows and cells" hints at the response structure, but there is no disclosure of auth/scopes, error behavior for invalid dates, or rate limits.

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?

Two short, front-loaded sentences with zero filler: the resource and time scope come first, the basis choice second. Every clause carries information.

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-only report tool with full schema coverage and no output schema, the description covers what is fetched, when, and on which basis. A brief note on the returned row/cell shape or required Xero scopes would close the remaining gap.

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 coverage is 100%, so both parameters are already documented in the schema, including the date format and the paymentsOnly cash/accrual mapping. The description reinforces that the date is explicit and the basis must be chosen deliberately, but adds no syntax or default-behavior detail beyond the schema.

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 names a specific verb and resource ("Read the Xero Trial Balance") plus the scope ("as at an explicit date"), so an agent can tell it apart from the balance_sheet or profit_and_loss siblings by resource name alone. It stops short of explicitly contrasting itself with those siblings, which keeps it at 4.

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?

"As at an explicit date" and "Choose cash-only or accrual basis explicitly" give usage constraints for the two inputs, implying this is a point-in-time report. There is no guidance on when to prefer this over the balance sheet or P&L reports, and no prerequisites or exclusions are stated.

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