Skip to main content
Glama
wave-mcp
by NoahMcGraw

wave_delete_invoice

Delete a draft invoice by ID; only invoices in DRAFT status can be removed. Use to cancel unissued invoices before they are finalized.

Instructions

Delete an invoice (must be in DRAFT status)

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": {
      "invoiceId": "<invoiceId>"
    },
    "name": "wave_delete_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
invoiceIdYesInvoice ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the important state constraint that only DRAFT invoices qualify. It stops short of stating whether deletion is permanent, what error or behavior results for non-DRAFT invoices, or whether any permissions or side effects apply.

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 definition is a single front-loaded phrase with the verb and resource first and the constraint immediately after; nothing is wasted. The parenthetical is slightly terse but no information is buried or padded.

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

Completeness3/5

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

For a one-parameter destructive tool with no output schema, the description covers what it does and when it is permitted, which is most of what an agent needs. The remaining gap is consequence disclosure — irreversibility and expected failure behavior — which matters more here because there are no annotations to fall back on.

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?

There is a single required parameter (invoiceId) with 100% schema description coverage, so the schema already documents it fully. The description adds no format, source, or lookup detail for the ID, so the high-coverage baseline of 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?

The description pairs a specific verb ("Delete") with a specific resource ("an invoice"), so the action is unambiguous. The resource name itself distinguishes it from siblings like wave_delete_customer or wave_delete_product, but it never explicitly contrasts with wave_update_invoice or invoice-voiding paths.

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?

The parenthetical "(must be in DRAFT status)" gives a concrete precondition for use, which is real guidance. However, it offers no alternatives for non-DRAFT invoices and no referral to a sibling such as wave_update_invoice, leaving the agent to guess what to do when the precondition fails.

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