Skip to main content
Glama

Invio Xero MCP

approve_xero_pending_change

approve_xero_pending_change
DestructiveIdempotent

Approves a change YOU (or another assistant on this account) have already proposed to Xero and immediately executes it. It approves ONLY these kinds: create_xero_invoice, update_xero_invoice, create_xero_contact, update_xero_contact, create_xero_quote, create_xero_credit_note, create_xero_manual_journal. It REFUSES money and payroll changes: create_xero_payment, create_xero_timesheet, delete_xero_timesheet, create_xero_pay_run, post_xero_pay_run, create_xero_leave_application, update_xero_employee. Those can only be approved by a person signed in to Invio in a browser - do not call this for them, even when the person says "approve" in this conversation; give them the approvalUrl and tell them to press Approve there. list_pending_changes marks every waiting change with assistantMayApprove. For the kinds it does approve, this is the ONE tool in this connector that actually writes to a live Xero ledger; treat it with the same weight as send_invoice or archive_business, not as a formality. Call this ONLY after the person using this account has clearly said, in their own words, to go ahead with THIS specific change - never infer approval from context, never call this speculatively "to see what happens", and never approve a change without first showing them what it actually says (call list_pending_changes if you do not already have its summary in this conversation). If they seem unsure, or ask what a value means, answer the question and wait - hesitation is not consent. Only once they have clearly agreed, call this with confirm: true. Afterwards, relay the real outcome verbatim: whether the write to Xero actually succeeded (and, if so, the id/number Xero assigned), or exactly why it failed if it did not - you cannot retry a failed write yourself, only draft a new change. Approving in Invio's own Settings > AI connections > Xero screen remains available at all times, for every kind of change.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pendingChangeId": "<pendingChangeId>",
      "confirm": "<confirm>"
    },
    "name": "approve_xero_pending_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true. Set this ONLY after the person using this account has explicitly said, in their own words, to approve (or reject) this specific change - never infer consent from context, and never pass true speculatively "to see what happens". Approving a payment or a payroll change is refused whatever this is set to: those need a person in Invio.
pendingChangeIdYesThe pendingChangeId of the row to act on - from list_pending_changes' own result, or the pendingChangeId a draft-creating tool (create_xero_invoice etc.) just returned. Never invent one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true. Set this ONLY after the person using this account has explicitly said, in their own words, to approve (or reject) this specific change - never infer consent from context, and never pass true speculatively \"to see what happens\"."New value: +"Must be true. Set this ONLY after the person using this account has explicitly said, in their own words, to approve (or reject) this specific change - never infer consent from context, and never pass true speculatively \"to see what happens\". Approving a payment or a payroll change is refused whatever this is set to: those need a person in Invio."
  2. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructive and open-world annotations, the description explains that this is the one connector tool that writes to a live Xero ledger and should be treated with the weight of send_invoice or archive_business. It also discloses that execution is immediate, that the assistant cannot retry a failed write, and that the real outcome must be relayed verbatim.

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?

The description is long but front-loads the core action and allowed/refused change kinds before moving into consent and outcomes. Some consent language is repeated for emphasis, but the length is largely justified by the high-stakes destructive action.

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 high-stakes write tool with no output schema, the description covers execution behavior, refusal categories, consent prerequisites, failure handling, and the browser-based alternative. An agent has enough context to call it correctly or route the user elsewhere.

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

Parameters3/5

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

Schema description coverage is 100%, and both parameters already document the confirm requirement and the pendingChangeId source. The description reinforces consent and source rules but adds little parameter meaning beyond what the schema already provides, so the baseline of 3 is appropriate.

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 description states a specific verb and resource: it approves a previously proposed Xero change and immediately executes it. It further distinguishes the tool by enumerating exactly which change kinds it approves and which money/payroll kinds it refuses, so an agent can tell it apart from sibling draft-creation and rejection tools.

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 when-to-use and when-not-to-use guidance, including never calling it for payments or payroll changes and directing the user to the approvalUrl instead. It also names list_pending_changes as the source of summaries and requires clear, specific user consent before invocation.

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