Skip to main content
Glama

Xero Invoice

xero_invoice

Retrieve an invoice's line items, payments, and totals by UUID or number to review billing details and payment status.

Instructions

Get invoice detail — line items, payments, totals.

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": {
      "invoice_id": "<invoice_id>"
    },
    "name": "xero_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoComma-separated fields to return
invoice_idYesInvoice UUID or number

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. "Get" implies a read-only operation and the description names key returned data, but it does not disclose authentication needs, error behavior, or whether returned payments are exhaustive.

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?

The description is a single front-loaded sentence with no filler. Every phrase contributes to identifying the operation and the returned detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple single-record read with a fully documented schema and an output schema, so the core retrieval purpose is covered. It still lacks explicit usage guidance and behavioral context such as read-only guarantees or prerequisites, leaving gaps for a tool with no annotations.

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 the schema already documents invoice_id and fields. The description does not add any meaning about parameter formats, defaults, or field-selection behavior beyond what the schema provides.

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 states a specific verb and resource ("Get invoice detail") and enumerates the returned components ("line items, payments, totals"). It implies a read-only single-invoice lookup that contrasts with sibling mutation tools, but it does not explicitly name or distinguish those alternatives.

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?

The word "Get" implies retrieving an existing invoice, giving minimal usage context. However, it does not state when to use this versus other retrieval or invoice-related tools, nor does it mention prerequisites or exclusions.

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