Skip to main content
Glama

Preview/confirm public Wave invoice sending

wave_send_invoice

Sends a Wave invoice to explicit recipients after preview and confirmation, requiring prior approval so changed inputs or replays cannot trigger duplicate emails.

Instructions

Requires separate explicit approval first and emailSendEnabled. Every recipient is explicit in to (no maximum inferred); ccMyself is pinned FALSE so preview never hides an unknown provider-self recipient. Include your own actual email in to if wanted. Never edits customer/auto-approves. Preview then confirm its original fingerprint+expiresAt; changed recipient/input/state invalidates, replay cannot send twice.

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>",
      "to": "<to>"
    },
    "name": "wave_send_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
messageNo
subjectNo
attachPDFNo
invoiceIdYes
businessIdNo
fromAddressNo
confirmationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses the approval + emailSendEnabled gate, that ccMyself is pinned FALSE so preview cannot hide a provider-self recipient, that customer records are never edited and nothing is auto-approved, and that the fingerprint+expiresAt confirmation invalidates on changed recipient/input/state. The 'replay cannot send twice' guard is a confirmation-layer protection and does not contradict idempotentHint=false, which concerns the underlying send operation.

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

Conciseness3/5

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

Dense and largely free of filler, but the telegraphic compression ('no maximum inferred', 'pinned FALSE', 'confirm its original fingerprint') costs clarity, and the most important fact — that this sends an invoice email — is not front-loaded. Several clauses require re-reading to parse.

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 non-idempotent, open-world mutation with no output schema, the safety and confirmation story is well covered. What is missing is operational mechanics: whether the preview step is a separate call to this same tool without `confirmation`, what the tool returns, and documentation for the six unexplained parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, so the description carries the full burden, yet it only explains `to` (explicit, no inferred maximum) and the nested `confirmation` (fingerprint+expiresAt). message, subject, attachPDF, fromAddress, businessId and invoiceId are left entirely undocumented, and the description references a `ccMyself` setting that does not appear in the schema at all, which is likely to confuse an agent mapping prose to parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never plainly states the core action (sending the invoice email to the listed recipients); that only comes through the title and tool name. It does distinguish this from sibling write tools via 'Never edits customer/auto-approves' and the preview/confirm framing, but an agent must infer the primary verb+resource from the name rather than the prose.

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?

Prerequisites are stated explicitly ('Requires separate explicit approval first and emailSendEnabled'), which is genuinely useful gating. However, no alternative is named — an agent is not told to use wave_mark_invoice_sent when it only wants to flag an invoice as sent, nor when-not to email at all. Usage is implied rather than routed.

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