Skip to main content
Glama

Invio Xero MCP

reject_xero_pending_change

reject_xero_pending_change
DestructiveIdempotent

Rejects a change YOU (or another assistant on this account) have proposed to Xero, so it is discarded and never reaches Xero - nothing was ever sent, there is nothing to undo, and this cannot be reversed once called. It may reject ANY kind of change, including the payments and payroll changes that approve_xero_pending_change refuses (those need a person in Invio to APPROVE; rejecting sends nothing to Xero, so it is allowed here). Call this ONLY after the person using this account has clearly said, in their own words, to discard THIS specific change - never infer that from silence, from a change of topic, or from them simply not mentioning it again. Make sure they know what they are turning down first (call list_pending_changes if you do not already have its summary in this conversation), then call this with confirm: true. reason is optional context for why, if they gave one - Invio does not currently store or display it anywhere, so only mention it back to them in this conversation, never claim it was recorded. Rejecting in Invio's own Settings > AI connections > Xero screen remains available at all times and works exactly the same either way.

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

Input Schema

NameRequiredDescriptionDefault
reasonNoOptional - why this is being rejected, if the person gave a reason. Invio does not currently store or display this anywhere - mention it back to them in this conversation if useful, never claim it was recorded against the change.
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?

Annotations already declare destructiveHint=true and idempotentHint=true, and the description is consistent with both while adding substantive context: nothing was ever transmitted to Xero, there is nothing to undo, the action is irreversible, and it will reject payment and payroll changes that the approve tool refuses. It also discloses that the reason field is not stored or displayed anywhere, which is behavior not visible in the annotations.

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 operation and its irreversibility, then consent rules, then parameter handling. It is dense and longer than typical, but nearly every sentence carries a distinct safety constraint; only the repeated never-sent/nothing-to-undo phrasing could be trimmed.

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 destructive three-parameter mutation with no output schema, the description covers consent gating, prerequisite discovery via list_pending_changes, the reason parameter's non-persistence, the payment/payroll exception, and the equivalent UI path. Nothing an agent needs in order to call it safely is missing.

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 coverage is 100%, so all three parameters (including the confirm const and the reason note) are already documented in the schema. The description reinforces the confirm gating and the reason non-persistence but adds little that is not already in the structured data, so this sits at the baseline.

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 ("Rejects a change ... proposed to Xero") plus its effect ("discarded and never reaches Xero"), and explicitly contrasts itself with the sibling approve_xero_pending_change. An agent can distinguish this from the approve tool without opening either 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?

Gives explicit when-to-use conditions (only after the person clearly says in their own words to discard THIS change), explicit when-not conditions (never from silence, a change of topic, or them not mentioning it again), prerequisites (show them the summary first, calling list_pending_changes if it isn't already in context), and the alternative path (approve_xero_pending_change, or the Settings > AI connections > Xero screen).

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