Skip to main content
Glama
xero-mcp

xero-mcp

by david-buck

List Xero revenue accounts

xero_list_revenue_accounts

List active revenue and sales accounts with valid account codes to choose the correct codes for draft invoice line items.

Instructions

List active revenue/sales accounts and their valid account codes for draft invoice line items.

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_list_revenue_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; 'List' and 'active' convey a read-only, filtered operation and that returned codes are valid for line items. It does not disclose auth requirements, pagination, or whether tax rates or account types accompany the codes.

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?

A single front-loaded sentence with no redundant restatement of the name or title. Every clause adds information: the active filter, the revenue/sales restriction, and the intended consumer of the result.

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 list with no output schema, the definition covers scope, filter, and intended use adequately to call it correctly. Remaining gaps (return shape, whether tax rates are included) are minor but non-zero.

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, so the baseline is 4; the description correctly frames this as a parameterless enumeration rather than suggesting any filtering inputs. The 'active' qualifier usefully explains the implicit scope that no parameter controls.

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 ('List active revenue/sales accounts') and adds the purpose ('for draft invoice line items'), which separates it from the broader xero_list_accounts sibling by restricting to revenue/sales and active accounts. It does not name the sibling explicitly, so differentiation is implied rather than guaranteed.

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 phrase 'for draft invoice line items' implies the call site (building draft invoice/quote lines), and 'active' hints that archived accounts are excluded. There is no explicit when-not guidance or named alternative such as xero_list_accounts, leaving the agent to infer the boundary.

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