Skip to main content
Glama
mcp-server-xero

mcp-server-xero

Check Xero connection

xero_check_connection
Read-onlyIdempotent

Verifies the Xero connection works by confirming the organization is covered and returns its name, country, base currency, and demo status, plus a reason code and next step on failure.

Instructions

Check that the connection works: whether the organization is among those the connection covers and Xero shows it, with its name, country, base currency and whether it is Xero's demo company. On failure the answer has connected false, a reason code and a sentence about what to do.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavior: it defines the success payload (org name, country, base currency, demo flag) and the failure shape (connected=false, reason code, actionable sentence), which is the most useful thing an agent can know for a connectivity probe.

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?

Two sentences, front-loaded with the success condition followed by failure behavior, with no filler. The middle clause ('whether the organization is among those the connection covers and Xero shows it') is slightly convoluted and takes a second read.

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?

With no output schema, the description carries the full burden of explaining return values, and it does so for both the success and failure paths. What remains unstated is the relationship to organization-detail siblings, though for a zero-parameter health check that is a minor gap.

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 no parameters, so schema-level semantics are a non-issue and the baseline applies. The description correctly concentrates on outputs rather than inventing input requirements.

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?

States a specific verb and resource (check the connection) and enumerates the payload it validates: organization membership, name, country, base currency, demo-company flag. It is clear what the tool does, though it does not explicitly distinguish itself from xero_get_organisation, which appears to surface much of the same organization data.

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?

Usage is only implied: an agent can infer this is a pre-flight health check before other Xero calls, and that a failure yields a reason code plus remediation sentence. There is no explicit when-to-use, when-not-to-use, or named alternative such as xero_get_organisation for retrieving org details.

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