Skip to main content
Glama
yoyodyne7
by yoyodyne7

Mark Wave invoice as sent

wave_mark_invoice_sent
Destructive

Record that an approved invoice was sent outside Wave after a preview-then-confirm step, keeping invoice status accurate when Wave sends no email.

Instructions

Record that an approved invoice was sent outside Wave (e.g. from your own email). Wave emails no one. This is a two-step tool: the first call (confirm omitted) returns a preview and a fingerprint and changes nothing. Show the preview to the user. Only after they agree, call again with confirm: true and the fingerprint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoLeave false to get a preview (nothing happens). Set true only after the user has seen the preview and agreed, and pass the preview's fingerprint.
invoice_idYesInvoice ID exactly as returned by Wave (an opaque string)
fingerprintNoThe fingerprint returned by the preview call; required with confirm: true
send_methodNoHow it was sent (default MARKED_SENT)MARKED_SENT

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
invoiceNo
messageYes
previewNo
fingerprintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare the mutation flags (readOnlyHint=false, destructiveHint=true, idempotentHint=false), and the description goes well beyond them: it discloses that Wave sends no email, that the first call 'changes nothing' and only returns a preview plus fingerprint, and that the confirmation call requires the fingerprint. That is exactly the safety-relevant context an agent needs before mutating.

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 sentences, front-loaded with the purpose, then the constraint, then the operational sequence. Every sentence carries distinct information with no repetition of the title or schema.

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 destructive, non-idempotent mutation with an output schema and full annotation coverage, the description supplies the workflow and safety narrative. It does not spell out the resulting invoice state after confirmation, but that is a minor gap given the output schema exists.

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?

Schema coverage is already 100%, so the baseline is 3. The description adds meaning the schema does not: confirm is not just a boolean but the second half of a preview-then-confirm handshake, and fingerprint is only valid when paired with confirm: true. send_method remains schema-only, which is acceptable.

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?

The description states a specific verb and resource ('Record that an approved invoice was sent outside Wave') and immediately scopes it against the sibling wave_send_invoice with 'Wave emails no one.' An agent can distinguish this bookkeeping tool from the actual-sending tool without opening either schema.

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

Usage Guidelines4/5

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

It clearly gives the condition for use ('an approved invoice was sent outside Wave (e.g. from your own email)') and lays out the two-step call sequence in order. It stops short of naming wave_send_invoice as the alternative for actually emailing, relying on the implicit contrast instead.

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