Skip to main content
Glama

Invio Xero MCP

list_pending_changes

list_pending_changes
Read-only

Lists the changes YOU (or another assistant on this account) have proposed against Xero - across every organisation this token may reach, not just the current one. Read-only; nothing is created or changed. Three groups: "pending" rows are still awaiting approval or rejection; "needsAttention" rows are not (a write that failed, or one stuck mid-execution) but are worth mentioning because something the person authorised did not visibly happen; "history" is the most recent already-resolved rows (approved-but-not-yet-sent, sent, rejected, expired, or cancelled) - use it to answer "what happened to the thing I approved last week" rather than telling the user to go check Xero. A row whose approval window has simply run out is reported here too, as status "expired" - Invio moves it into history on its own within about an hour, and this tool already reports it that way immediately, before that background sweep gets to it; it never counts as still "pending" and never counts toward maxOpenPendingChanges below. A failed or stranded row in needsAttention/history carries errorMessage/errorCode explaining why, and a sent one carries result with the id/number Xero assigned. Every row carries approvalUrl - the same link a draft-creating tool's own result carries - point the user at it rather than inventing a path. Every row also carries assistantMayApprove: true means approve_xero_pending_change may approve it once the person has clearly said so; false means it is a payment or a payroll change, which only a person signed in to Invio can approve - give them approvalUrl and do not call approve_xero_pending_change for it (you may still reject it if they ask). Use this when asked "what am I waiting to approve" or "what happened to X", after drafting several changes in one conversation to summarise what is now queued, or before drafting another change against the same invoice/contact to check whether an earlier one is still unresolved. If truncated is true, more pending/needsAttention changes matched than were returned - say so rather than presenting the two lists as everything waiting, and suggest approving or rejecting some before asking again. maxOpenPendingChanges is the most "pending" changes this account may have open at once before drafting a new one is refused - if pending.length is getting close to it, mention that to the user before it becomes a failed draft.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already say readOnlyHint=true and openWorldHint=false, and the description reinforces that nothing is created. It also adds substantial behavior beyond those annotations: the three groups (pending, needsAttention, history), how expiry is reported before Invio's background sweep, the errorMessage/errorCode on failed rows, and the result field on sent rows. The only gap is return formatting and pagination behavior, so this falls just short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Everything important is in the first sentence, and each later sentence carries operational value. However, the whole definition is one very long paragraph that runs over 350 words, mixing group semantics, row fields, approval rules, and truncation handling. This could have been organized into short sentences or a list, making it harder than necessary to scan.

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, no-output-schema read tool, this description covers everything an agent would need: what the three groups mean, how to interpret truncated, what maxOpenPendingChanges implies, how approvalUrl should be used instead of inventing a path, and when a row must not be auto-approved. Nothing needed to call it correctly is missing.

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 no input semantics need explaining; the baseline for a zero-parameter tool is 4. The description does explain several return fields (approvalUrl, assistantMayApprove, truncated, maxOpenPendingChanges), which is useful because no output schema is declared. Still, it does not add anything about parameters themselves.

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?

The first sentence names a specific verb and resource (lists proposed changes), the scope (across every organisation the token can reach, not just the current one), and who the changes belong to (you or another assistant). It is unambiguous against read-only sibling listers like list_xero_invoices because it operates on Invio's pending-change queue rather than Xero records.

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?

It gives explicit triggers, such as answering "what am I waiting to approve" or "what happened to X", summarising after drafting several changes, and checking for an earlier unresolved change before drafting again. It also names the alternative: use approve_xero_pending_change only when assistantMayApprove is true, and never for payments or payroll. Both the when and the when-not are stated.

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