Skip to main content
Glama

Xero Accounts

xero_accounts

List and filter a Xero chart of accounts by account type or class to find the accounts needed for reporting, reconciliation, or ledger review.

Instructions

List chart of accounts.

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

Input Schema

NameRequiredDescriptionDefault
account_typeNoFilter: BANK, REVENUE, EXPENSE, etc.
account_classNoFilter: ASSET, LIABILITY, EQUITY, REVENUE, EXPENSE

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. 'List' implies a read operation, but it says nothing about pagination, permissions/scopes, whether archived or inactive accounts are included, or result ordering — all things an agent would need for a read tool with no annotation cover.

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?

One front-loaded sentence with zero waste. It is arguably under-specified rather than verbose, but it does not pad or bury information.

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?

The tool is simple (2 optional filters, read-only, output schema present so return values need no explanation), which lowers the bar. Still, nothing explains how the two filters interact or how this differs from the single-account sibling, leaving a modest 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 description coverage is 100% and both parameters carry inline enum-style examples (BANK, REVENUE, EXPENSE / ASSET, LIABILITY, EQUITY), so the schema does the heavy lifting. The description adds nothing beyond the schema, which is the baseline case.

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 uses a specific verb ('List') with a specific resource ('chart of accounts'), so the agent knows it retrieves the accounts collection. It does not differentiate from the singular sibling xero_account, which is the main ambiguity an agent would face.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool rather than xero_account or the various report tools such as xero_balance_sheet. No prerequisites, no exclusions, and no statement about whether filters are optional or mutually exclusive.

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