Skip to main content
Glama

Boatwork - Marine Businesses MCP

void_custom_invoice

Mutation/readOnly:false, script-tier/no-model-token action. Void an unpaid sent custom invoice in Stripe so the client can no longer pay it. Cannot be undone (use duplicate_custom_invoice if you need to reissue it). Requires confirm:true — without it, returns a confirmation preview naming the invoice, client, and total and changes nothing. Requires the Owner or Admin role. Storefront Pro.

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>",
      "proAccessToken": "<proAccessToken>"
    },
    "name": "void_custom_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to void the invoice. Omit to get a confirmation preview.
invoiceIdYesThe unpaid sent invoice id from list_custom_invoices.
proAccessTokenYesThe proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours.

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?

With no annotations, the description carries the full behavioral burden and does so: it discloses irreversibility, that omitting confirm yields a no-op preview naming invoice, client, and total, the required role and plan, and that this is a script-tier action consuming no model tokens. These are exactly the traits an agent cannot get from structured fields.

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?

Front-loads the action and consequence, then stacks the guardrails (irreversibility, confirm, role, plan) in short clauses. The 'Mutation/readOnly:false, script-tier/no-model-token action' preamble is slightly jargon-heavy but informative given there are no annotations to convey it.

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 an irreversible three-parameter mutation with no annotations and no output schema, the description covers reversibility, confirmation flow, authorization, plan gating, and the reissue path. Nothing an agent needs to invoke it safely is missing.

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 100%, so the baseline is 3; the description earns an extra point by explaining what the confirm-less preview actually returns ('naming the invoice, client, and total and changes nothing'), which is more than the schema's 'Omit to get a confirmation preview'. invoiceId and proAccessToken are left to their schema descriptions.

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 ('Void an unpaid sent custom invoice in Stripe') and adds the consequence ('so the client can no longer pay it'). The 'unpaid sent' qualifier separates it cleanly from draft-oriented siblings like delete_custom_invoice_draft and void_charge without needing to open any 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?

Gives clear preconditions (Owner or Admin role, Storefront Pro, confirm:true) and names an alternative for the follow-on case ('use duplicate_custom_invoice if you need to reissue it'). It does not explicitly state the when-not boundary for draft or already-paid invoices, leaving that to be inferred from 'unpaid sent'.

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.

Resources