Skip to main content
Glama

Xero Void Credit Note

xero_void_credit_note

Voids a Xero credit note by ID, requiring confirm=true and write access; the action is irreversible.

Instructions

Void a credit note. Irreversible. Requires XERO_WRITE_ENABLED=true and confirm=true.

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": {
      "credit_note_id": "<credit_note_id>"
    },
    "name": "xero_void_credit_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to void
credit_note_idYesCredit note UUID

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral burden, and it does the most important part: it explicitly flags the operation as irreversible and names the environment-flag and confirm gate. It adds nothing about permissions/scopes beyond the env flag, rate limits, or what state a voided note ends up in, so it falls short of full disclosure for a destructive operation.

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

Conciseness5/5

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

Three terse sentences, front-loaded with the action, then the risk warning, then the prerequisites. Every clause carries distinct information; nothing is padded or restated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with a 100%-documented schema and an output schema, the description covers the essentials an agent needs: the action, its irreversibility, and the two gates that must be satisfied. Only minor gaps remain, such as which error surfaces when the flag is off or whether an already-voided note can be re-voided.

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% — both credit_note_id (UUID) and confirm (must be true) are documented in the schema itself. The description only echoes the confirm requirement and adds no syntax or format detail beyond it, so the baseline 3 applies.

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?

States a specific verb+resource: 'Void a credit note.' The resource (credit note) cleanly separates it from xero_void_bill and xero_void_invoice, and the verb separates it from xero_create_credit_note and xero_credit_notes. It doesn't explicitly name those siblings as alternatives, but the object-level specificity is enough to disambiguate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Identifies the preconditions for invocation (XERO_WRITE_ENABLED=true and confirm=true), which effectively serves as a gating condition for when the call is valid. However, it gives no guidance on when to void versus create/read a credit note, nor any note about which state a credit note must be in to be voidable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.