Skip to main content
Glama

Invio Xero MCP

list_xero_accounts

list_xero_accounts
Read-only

This organisation's chart of accounts from Xero. Read-only; nothing is created or changed. Some accounts, most often a bank account, have code: null - Xero genuinely has no code for them; use that account's exact name instead wherever a tool accepts one (create_xero_payment's own bankAccountName), never invent a code for it. Use this BEFORE proposing an accountCode on a create_xero_invoice or update_xero_invoice line item - accountCode must be a real code from this list, never invented or guessed (an invented code is rejected before you can even propose the change). If none obviously fits, omit accountCode entirely: for a DRAFT invoice a human fills it in later in Xero; for an AUTHORISED invoice (the default), this connector fills in the organisation's own single active default account automatically when there is exactly one, or asks you to choose from this list when there is more than one. taxType here is each account's OWN default tax type - a useful hint, but not the exhaustive list of every tax rate this organisation has configured, so a line item is free to use a different valid one; if unsure, omit taxType too. Prefer accounts with status ACTIVE for a new line item - an ARCHIVED code still exists but Xero may refuse to post to it, and on an AUTHORISED invoice this connector refuses one outright rather than risk that.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
organisationNoThe Xero organisation to use, by its display name. Only needed if this connection reaches more than one organisation - omit it when there is only one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses crucial behaviors: accounts with `code: null` genuinely lack a code and must be referenced by exact name, invented codes are rejected before proposal, and the connector has distinct fallback behaviors for authorising invoices. It also clarifies that taxType is only a hint and that archived accounts may be refused, all of which add significant non-obvious context.

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?

The description is long but each sentence earns its place by introducing a distinct caveat or rule needed for correct usage. It is front-loaded with the core purpose and read-only note, then progressively covers edge cases. Slight redundancy with the annotation's read-only statement and occasional wordiness prevent a perfect score, but the structure is clear and logical.

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

Completeness5/5

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

For a read-only list tool with one optional parameter and no output schema, the description is exceptionally complete. It covers how to handle null codes, how to use the results with invoice tools, when to omit accountCode, the taxType hint, and ACTIVE status preference. Everything an agent needs to call this tool correctly and integrate its output into downstream steps is present.

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?

The single optional `organisation` parameter is fully documented in the schema (100% coverage), and the description does not add any additional meaning about it beyond the schema. The description's 'This organisation's' wording implicitly references the current/default organisation, but the schema already explains when the parameter is needed, so the description provides no extra value here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the resource as 'This organisation's chart of accounts from Xero' and states the action explicitly as listing, with a specific read-only qualifier. It distinguishes itself from sibling create/update tools by emphasizing it is the source of truth for real account codes, and the title itself is unambiguous.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use instructions: 'Use this BEFORE proposing an accountCode on a create_xero_invoice or update_xero_invoice line item,' and details what to do when no account fits, including omitting accountCode and letting the connector fill defaults. It also provides concrete alternatives for draft vs authorised invoices and warns about archived accounts, leaving no ambiguity about when to prefer this tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources