Skip to main content
Glama

Update customer

core_update_customer
Destructive

Change a customer's contact facts: email, billing address, tax id, terms. Patch semantics: only the fields you pass change. These are the customer's own facts — ask, never guess an address. Credit limit and hold have their own commands because they are authority, not contact details. Issued documents keep the bill-to block they were issued with. Effects: customer record updated.

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": {
      "customer_id": "<customer_id>"
    },
    "name": "core_update_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoBilling email.
termsNoPayment terms: immediate, or netN for N days (net7, net15, net30, net60).
tax_idNoTheir VAT / EIN.
addressNoBilling address, as it should print.
customer_idYesThe customer. An existing customer id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds genuinely non-obvious behavior: patch semantics, the fact that issued documents keep their original bill-to block instead of retroactively changing, and the instruction "ask, never guess an address." It does not address reversibility or failure modes, which is the remaining gap for a destructive mutation.

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?

It is front-loaded with the action and field scope, then layered with patch semantics, an authority boundary, and a document-side-effect note, all in short lines. "Effects: customer record updated" is close to filler given the rest, but it is a single cheap closing statement.

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?

With no output schema, the description supplies a minimal effects statement and covers the scoping semantics an agent needs for a five-parameter mutation. What is missing is any note on validation errors, permission requirements, or confirmation behavior for the deemed-destructive path.

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?

Schema coverage is 100%, so each of the four updatable fields and customer_id is already documented in the schema, and the description's field list largely restates them. The one addition beyond the schema is that these are treated as a coherent group of "contact facts," with the patch rule attached; that is useful but modest against a fully documented schema.

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?

"Change a customer's contact facts: email, billing address, tax id, terms" gives a specific verb, resource, and the exact field scope, which separates it from core_get_customer and core_create_customer. It also explicitly states what it is not — credit limit and hold belong to other commands — so the agent can route without opening a 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?

The description makes the invocation model clear ("only the fields you pass change") and routes adjacent authority changes to their own commands (credit limit, hold), which maps to siblings like core_set_credit_limit and core_hold_customer. It stops short of naming the read counterpart (core_get_customer) for verification, so it is clear context rather than a full when/when-not decision tree.

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.