Skip to main content
Glama

Preview/confirm full internal contact replacement

wave_set_customer_contacts
Destructive

Replace a Wave customer's entire contact list: delete all existing contacts and insert new ones, with preview, snapshot, and explicit confirmation required.

Instructions

Replaces WHOLE list: every existing contact is deleted with {id} ONLY, then new contacts (new IDs) inserted. [] removes all. Preview explicitly exposes all deleted records and exact address/shipping preservation patch; unchanged full snapshot and explicit single-use confirmation required. Public lookup is ownership only. No blind retry or provider CAS guarantee.

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>",
      "contacts": "<contacts>"
    },
    "name": "wave_set_customer_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
contactsYes
businessIdNo
customerIdYes
confirmationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior5/5

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

Annotations already declare a destructive, non-idempotent, open-world write, but the description adds substantial behavioral context beyond them: deletion semantics, empty-array removal, preview exposing all deleted records and the preservation patch, single-use confirmation, and no blind retry. This is a strong disclosure of dangerous behavior.

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?

The most important destructive behavior is front-loaded, and most clauses carry useful information. However, the prose is dense and telegraphic, with ambiguous phrases like '{id} ONLY', 'address/shipping preservation patch', 'public lookup is ownership only', and 'provider CAS guarantee' that reduce readability.

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 destructive nested-confirmation mutation with no output schema, the description covers the core deletion and preview/confirmation flow well. It still omits parameter-level meaning for several fields and does not explain return values or error behavior beyond the retry warning.

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%, so the description must carry parameter meaning. It adds useful semantics for the contacts array, especially that an empty array removes all contacts, and mentions that confirmation is required. But it does not explain customerId, businessId, or the confirmation object's fingerprint/expiresAt fields, leaving significant parameter ambiguity.

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

Purpose4/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: it 'Replaces WHOLE list' of customer contacts, deletes existing contacts, and inserts new ones. The empty-array behavior ('[] removes all') further clarifies the operation. It does not explicitly name a sibling alternative, so it stops short of full sibling differentiation.

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?

Usage is implied by the whole-list replacement framing and the required preview/confirmation workflow. However, it never explicitly says when to use this instead of related tools such as wave_list_customer_contacts or customer update tools, nor does it state when not to use it.

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