Skip to main content
Glama

Void

solo_void_invoice
Destructive

Kill an invoice, on the record. The number stays burned (S-4). Void is for mistakes and cancellations; the reason is part of the record. The document stays readable and printable, stamped VOID, at the same link — a record you cannot read is not a record. Nothing on it is collectible: open drops to 0. An invoice with payments applied cannot be voided at 0.1 — unwinding applied cash needs its own design (see the spec's deferred list). Reissue corrected work as a fresh draft. Effects: invoice void; number burned; open = 0; document stays readable, stamped VOID.

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy — part of the record, forever.
invoice_idYesThe invoice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark this as destructive and non-read-only, and the description adds substantial behavior: the invoice number is burned, open balance drops to 0, the document remains readable and stamped VOID, and payments-applied invoices are blocked. This is richer than what the annotations provide.

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 key action and scope are front-loaded. It is informative but somewhat repetitive, restating effects such as the burned number and readable VOID document in both prose and the final effects line.

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 mutation with no output schema, the description covers the essential effects and constraints an agent needs. It explains what happens to the invoice, the number, the balance, the document, and when voiding is blocked.

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 both parameters are already documented. The description reinforces that the reason is permanent and part of the record, but adds little syntax or format meaning beyond the schema.

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: "Kill an invoice, on the record." The scope is clear, and the description distinguishes this action from reissuing corrected work as a fresh draft.

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?

Explicitly says when to use it: mistakes and cancellations. It also states a key exclusion - invoices with payments applied cannot be voided at 0.1 - and gives the alternative action of reissuing corrected work as a fresh draft.

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.