Skip to main content
Glama

Supplier Invoice Tool

Get the Xero sign-in link

connect_xero
Read-onlyIdempotent

A link for the trade to open and sign in to Xero. Test mode: only a Xero Demo Company can be connected.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely new context with the test-mode restriction (only a Xero Demo Company can be connected), but omits behavior an agent would want: whether the link is a URL string, whether it expires, and whether it triggers any state change before the user signs in.

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 short sentences with no padding, and the core deliverable is stated first with the environment caveat second. Minor awkwardness in 'for the trade to open' costs a point but not clarity.

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?

For a zero-parameter tool with no output schema, the description should carry the return contract, and it only loosely does so ('A link' without saying it is a URL/redirect target, or how the caller should surface it). The test-mode note is useful, but an agent still cannot fully predict what it receives back.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline of 4 is exceeded only by the absence of any misleading parameter language. No semantic gaps exist here.

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 identifies the concrete resource produced: a sign-in link a trade opens to authenticate with Xero, which is distinct from siblings like disconnect_xero or xero_status. It is a noun phrase rather than an explicit verb ('returns'/'generates'), so it is clear but not maximally crisp.

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 explicit when-to-use guidance: nothing says to call this when no Xero connection exists, or that push_bills_to_xero requires the connection this link establishes. The only conditional information is the test-mode caveat about Demo Company, which constrains but does not route.

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.