Skip to main content
Glama

Boatwork - Marine Businesses MCP

update_invoice_client

Mutation/readOnly:false, script-tier/no-model-token action. Update an existing private invoice client's contact details, vessel info, monthly retainer rate, recurring items, markup/terms defaults, CC emails, payment method mode, or notes. Send only the fields you want to change; send null to clear a nullable field. Call list_invoice_clients first for the clientId. 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": {
      "clientId": "<clientId>",
      "proAccessToken": "<proAccessToken>"
    },
    "name": "update_invoice_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoUpdated client name, 1 to 100 characters.
emailNoUpdated primary billing email.
notesNoPrivate internal notes about this client, up to 1,000 characters. Send null to clear.
phoneNoClient phone number, up to 40 characters. Send null to clear.
ccEmailsNoUp to 5 additional CC email addresses (e.g. owner's bookkeeper or captain).
clientIdYesThe client id from list_invoice_clients.
vesselNameNoVessel name (e.g. "Sea Breeze"), up to 100 characters. Send null to clear.
defaultDueDaysNoDefault payment terms in days (0 = due on receipt, 7, 15, 30, up to 90; default 15).
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.
recurringItemsNoUp to 12 standing monthly line items included when running generate_monthly_invoice_drafts. Send null or [] to clear.
vesselLengthFtNoVessel length in whole feet (1–500). Send null to clear.
defaultMarkupBpsNoDefault reimbursable expense markup in basis points (1500 = 15%, default 0, max 10000 = 100%).
monthlyRateCentsNoStanding monthly retainer/management fee in cents (e.g. 150000 = $1,500.00/mo). Used by generate_monthly_invoice_drafts. Send null to clear.
autoRemindOverdueNotrue = automatically email overdue reminders for unpaid invoices sent to this client (default false).
markupDisplayModeNo'separate_line' (default) shows reimbursable markup as its own line; 'included_in_line' rolls markup into each expense line.
paymentMethodModeNoPayment methods offered on Stripe invoices: 'card_and_ach' (default), 'card_only', or 'ach_only'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/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 does well: it declares mutation, patch-style partial updates, null-to-clear behavior for nullable fields, the role requirement, and the plan tier gate. It does not state whether edits retroactively affect already-generated monthly drafts or what the response contains, which are the remaining behavioral gaps.

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-loaded and dense with actionable information; the patch-semantics sentence and the prerequisite sentence each earn their place. The opening "Mutation/readOnly:false, script-tier/no-model-token action" is internal jargon that costs a clause without helping an agent decide or call correctly.

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 16-parameter mutation with no annotations and no output schema, the definition covers the essentials an agent needs: what is mutated, how to obtain the clientId, how partial updates and clearing work, auth/role, and plan gating. Return shape is the only omission and is inferable for an update endpoint.

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 still adds cross-field meaning the per-property descriptions cannot: send only the fields you want changed, and null explicitly clears a nullable field. The opaque leading line about mutation/readOnly and "script-tier" adds little semantic value for the caller.

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?

Specific verb ("Update") plus a precisely scoped resource ("an existing private invoice client") with an enumerated field list that maps to the schema. The word "existing" plus the sibling name list_invoice_clients cleanly separates it from create_invoice_client and archive_invoice_client.

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 two concrete preconditions: call list_invoice_clients first for the clientId, and the caller must hold Owner or Admin on a Storefront Pro plan. It also states partial-update semantics. It does not explicitly name when to use a different sibling (e.g. create_invoice_client for new clients), which keeps it short of a 5.

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