Skip to main content
Glama

Invio Xero MCP

list_xero_organisations

list_xero_organisations
Read-only

List the Xero organisations this connector token is currently authorised to read AND that this call is permitted to know about (organisation names only - never an internal id). Account-wide: it does not take an organisation argument and answers the same regardless of which organisation you were just discussing - use it to find the exact name to pass as organisation on another tool, when this connection reaches more than one. withinPlanLimit: false on an entry means it is authorised on Xero but outside this account's current Xero-connector plan limit - a call naming that organisation will be refused; say so plainly rather than trying it anyway. A restricted connector token may not see every organisation on the account - that is by design, not an omission. organisations may come back empty - status says exactly why, never leave that unexplained: "not_connected" (no active Xero connection at all - Xero has not been connected in Settings, or the connection was disconnected), "no_organisations" (Xero is connected but currently authorises zero organisations on it - reconnecting in Settings is the fix), "none_authorised_for_you" (organisations exist on this connection, but this specific connector token is restricted to a set that does not include any of them - ask the account owner to check Settings > AI connections > Xero > Team), or "connected" (the ordinary case, whether or not the list happens to be empty for another reason).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With readOnlyHint and openWorldHint already supplied, the description still adds real behavioral context: plan-limit entries that will cause downstream refusal, the fact that restricted tokens legitimately see a subset, and the possibility of an empty result. The only shortfall is that it does not say anything about ordering, pagination, or the other fields on a returned entry beyond name/withinPlanLimit.

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?

Front-loaded with the verb, resource, and scope before any caveats, and the caveats are ordered by importance. It is on the long side and some phrasing is padded ("say so plainly rather than trying it anyway", "never leave that unexplained"), but the status enumeration it spends words on is load-bearing given there is no output schema.

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 zero-parameter, non-destructive read with no output schema, the description covers everything an agent needs: what is returned, the meaning of `withinPlanLimit: false`, why the list may be a subset, and a full decoding of every `status` value including the recovery action for each. Nothing about interpreting an empty or partial result is left ambiguous.

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?

Zero parameters, so the baseline is a 4; the description reinforces this by stating outright that the tool takes no `organisation` argument and behaves identically regardless of conversational context. That is the one parameter-shaped misconception an agent could hold, and it is addressed directly.

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?

States a specific verb and resource ("List the Xero organisations") plus a precise scope: only those the connector token is authorised to read AND permitted to know about, returning names only, never internal ids. That scope statement distinguishes it from data-listing siblings such as list_xero_accounts and makes the output shape clear without opening a schema.

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?

Explicitly names the use case (find the exact name to pass as `organisation` on another tool, when the connection reaches more than one) and explicitly says it is account-wide and takes no `organisation` argument, so an agent knows not to try narrowing it. It also gives a clear when-not rule: do not attempt a call naming an organisation with `withinPlanLimit: false`, because it will be refused.

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