Skip to main content
Glama

Update public Wave customer

wave_update_customer
Idempotent

Updates a Wave Accounting customer by verifying ownership, merging omitted address and shipping fields, preserving explicit null clears, then writing once and awaiting audit.

Instructions

Reads and verifies ownership, merges omitted address/shipping fields, preserves explicit null clears, then writes once and awaits audit.

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": {
      "customerId": "<customerId>"
    },
    "name": "wave_update_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
faxNo
nameNo
emailNo
phoneNo
mobileNo
addressNo
websiteNo
currencyNo
lastNameNo
tollFreeNo
displayIdNo
firstNameNo
businessIdNo
customerIdYes
internalNotesNo
shippingDetailsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly=false, destructive=false, idempotent=true, openWorld=true), and the description adds meaningful non-obvious behavior: an ownership/permission check precedes the write, omitted fields are merged rather than wiped, explicit nulls are honored as clears, and the write happens once with an audit step afterward. The remaining ambiguity is what 'awaits audit' actually means for the caller (latency, consistency, or response content).

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?

One front-loaded sentence traces the lifecycle in order with no filler or redundancy. Its density costs a little clarity — 'awaits audit' and 'verifies ownership' are compressed jargon not explained anywhere else.

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 mutation tool with annotations carrying the safety profile and no output schema, the description covers permissions, merge/null semantics, write atomicity, and post-write auditing — enough for an agent to call it correctly. The gap is return-value expectations and whether the full customer or a patch result comes back.

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?

With 16 parameters and 0% schema description coverage, the description does resolve the single biggest ambiguity in this schema: null means clear and omission means keep, which explains the nullable/anyOf typing. It does not add meaning for the other parameters (businessId, currency, customerId requirement, name components), so coverage remains partial.

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 describes an operation sequence ('reads and verifies... merges... writes once and awaits audit') but never names the object being written, so the resource is only inferable from the tool name/title. It gives no signal distinguishing it from siblings such as wave_create_customer or wave_set_customer_contacts beyond the word 'writes'.

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 patch semantics ('merges omitted address/shipping fields, preserves explicit null clears') implicitly tell the caller how to use the tool for partial updates, which is real guidance. However, there is no explicit when-to-use vs. alternative (e.g., full replace vs. contact-setting tools) or prerequisites beyond the vague 'verifies ownership'.

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