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. 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 > MCP > Xero screen remains available at all times and works exactly the same either way.

Input Schema

TableJSON 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".
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. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The annotations already mark the action as destructive and idempotent, and the description adds meaningful behavioral detail: the change never reaches Xero, there is nothing to undo, the action cannot be reversed, and the optional reason is not stored or displayed by Invio. This materially exceeds what the structured annotations alone convey and does not contradict them.

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 front-loaded with the primary effect and every sentence earns its place for a destructive, irreversible operation. However, some sentences are long and slightly repetitive when emphasizing irreversibility and consent, so it is not maximally concise.

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?

The description is complete for an agent to invoke the tool correctly: it explains the preconditions, what counts as valid consent, where pendingChangeId comes from, the meaning of confirm, the irreversibility, the storage behavior of reason, and the manual alternative. Given the high stakes and no output schema, there are no meaningful gaps.

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 input schema already documents all parameters at 100% coverage. The description adds important usage semantics: confirm must be true and only after explicit consent, pendingChangeId must come from list_pending_changes or a draft-creating tool and never be invented, and reason is not persisted. This goes beyond the schema even though much of it reinforces what the schema says.

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: it rejects a pending change that was proposed to Xero but never actually sent. It clearly describes the consequence (discarded, never reaches Xero, irreversible) and is easily distinguishable from the sibling approve_xero_pending_change and list_pending_changes.

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?

Provides explicit when-to-use guidance: only after the user has clearly said, in their own words, to discard this specific change. It also tells the agent what not to do (never infer consent from silence or topic changes), suggests calling list_pending_changes first if the summary isn't in conversation, and notes that the manual Invio Settings path remains available.

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