Skip to main content
Glama
Xero MCP Safe

Xero MCP Safe

by dwadlane

Aged receivables

aged_receivables
Read-only

Summarizes outstanding customer balances by ageing buckets, or returns Xero's contact-specific report when a contact ID is supplied.

Instructions

Receivables by customer in ageing buckets (current, 1 to 30, 31 to 60, 61 to 90, over 90). With contact_id it returns Xero's own AgedReceivablesByContact report for that one contact.

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": "aged_receivables"
  }
}

Input Schema

NameRequiredDescriptionDefault
contact_idNoOptional. Use Xero's report for this one contact instead of working it out across all customers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description usefully discloses a dual execution path — a computed aggregate by default versus Xero's native report when contact_id is given — but says nothing about date basis, currency handling, or whether the two modes return the same shape.

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 sentences, zero filler, with the core output definition front-loaded and the parameter-conditional behaviour second. Every clause carries information an agent would otherwise have to guess.

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?

With no output schema, the description correctly spends its budget describing the returned buckets. It is nearly complete for a single-optional-parameter read tool; the notable silence is that no date/as-of parameter exists, which an agent might expect for an ageing report.

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% and the single parameter's schema text already says it switches to Xero's report for one contact, so the description largely restates it. The added value is mainly the framing of the default behaviour (working it out across all customers) rather than new syntax or format detail.

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 report and enumerates its output structure (current, 1-30, 31-60, 61-90, over 90), which is far more informative than the title alone. It does not explicitly contrast itself with plausible siblings such as overdue_invoices or cash_summary, so the differentiation is only implicit.

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?

There is a clear conditional hint: omitting contact_id produces an across-all-customers view, while supplying it returns Xero's own AgedReceivablesByContact report. However, there is no guidance on when to pick this tool over overdue_invoices or cash_summary, and no stated prerequisites or exclusions.

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