Skip to main content
Glama

Xero Connections

xero_connections

List connected Xero tenants and organisations, then use the returned tenantId to set XERO_TENANT_ID for accounting and payroll API calls.

Instructions

List connected Xero tenants/organisations. Use the tenantId to set XERO_TENANT_ID.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.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' implies a read-only operation and 'connected' hints at OAuth-scoped state, but the description says nothing about authentication requirements, what happens with zero connected tenants, or error behaviour. The presence of an output schema relieves it of explaining return values, which keeps this at an adequate 3.

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 short sentences, front-loaded with what the tool returns and followed immediately by what to do with the result. No filler, no restatement of the title, and nothing an agent would need to skim past.

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 listing tool with an output schema, the definition covers what is returned and the one actionable follow-up. What is missing is modest but real: no mention of authentication prerequisites or failure modes when no tenant is connected, which matter for an agent deciding whether it can call this yet.

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 schema baseline is 4. The description adds a small amount of bridging value by naming tenantId and the XERO_TENANT_ID setting, connecting this call's output to the identifier other tools need, without inventing parameter detail that does not exist.

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 and resource: 'List connected Xero tenants/organisations.' That is unambiguous and tells an agent exactly what comes back. It stops short of naming how it differs from near neighbours like xero_info, which may also surface organisation details, so it is clear but not fully sibling-differentiated.

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 second sentence ('Use the tenantId to set XERO_TENANT_ID') gives a downstream workflow hint that implies this is a bootstrap call whose results feed later requests. That is useful implied guidance, but there is no explicit statement of when this tool is required versus an alternative, and no prerequisites or ordering are spelled out.

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