Skip to main content
Glama
Xero MCP Safe

Xero MCP Safe

by dwadlane

Overdue invoices

overdue_invoices
Read-only

Retrieve unpaid customer invoices past due, sorted by most overdue first, with 1-30, 31-60, 61-90 and 90+ day ageing buckets to show who owes money; drafts, voided and paid invoices are excluded.

Instructions

Unpaid customer invoices past their due date, most overdue first, with an ageing breakdown (1 to 30, 31 to 60, 61 to 90, over 90 days). Drafts, voided and paid invoices are never counted. Use for 'who owes us money?'

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/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 adds genuinely useful behavior beyond that: return ordering (most overdue first), the four ageing bands, and the exclusion rule that drafts, voided and paid invoices are never counted, which is exactly the kind of scoping detail structured fields cannot express.

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 compact sentences front-load the resource and scope, then the intent cue closes it out. Every clause earns its place: ordering, buckets, and exclusions are all load-bearing for correct interpretation.

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 zero-parameter read-only report with no output schema, the description carries the burden well by explaining what is counted, what is excluded, how results are ordered, and how they are bucketed. It only leaves open the per-row fields and currency/entity scope, which is a minor gap for this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters and the schema is an empty object, so there is no parameter meaning to add and the baseline of 4 applies. The description correctly implies no filtering inputs are needed; it does not invent any.

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 the exact resource and scope: unpaid customer invoices past due date, sorted most-overdue-first, with ageing buckets. It is far more specific than a title restatement, but it never differentiates itself from the closely related sibling aged_receivables, so an agent must infer the boundary.

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 phrase "Use for 'who owes us money?'" gives a concrete selection cue that maps a user intent to this tool. It stops short of stating when NOT to use it or naming aged_receivables as the alternative for a different ageing view, so there are no explicit exclusions.

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