Skip to main content
Glama

Update customer

update_customer
Destructive

Update a customer in this organization. customer_id is required. Same fields as create_customer, plus optional status (active or archived).

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": "update_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
nameNo
emailNo
notesNo
phoneNo
regionNo
statusNo
countryNo
org_numberNo
vat_numberNo
customer_idYes
postal_codeNo
account_codeNo
billing_cityNo
contact_nameNo
address_line1No
address_line2No
payment_termsNo
billing_regionNo
extra_contactsNo
billing_countryNo
billing_postal_codeNo
billing_address_line1No
billing_address_line2No
default_shipping_mark_profile_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the agent knows this is a risky, non-idempotent mutation. The description adds almost nothing beyond that: it never says whether omitted fields are left untouched or cleared, whether updates can be reverted, or that setting status='archived' is the archival path. For a destructive 25-field mutation, that omission is significant.

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?

Three short sentences, front-loaded with the action and the required identifier. No filler, though the cross-reference to create_customer is an indirection rather than genuine compression.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 25 parameters, 0% schema coverage, no output schema, and destructiveHint=true, the description should cover partial-update semantics and the effect of archiving; it covers neither. The create_customer cross-reference is the only substantive help, and it is insufficient for an agent to call this safely.

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% across 25 parameters, so the description carries the full burden and mostly punts: 'Same fields as create_customer' forces the agent to open another tool's schema to learn what is editable. Only 'status (active or archived)' is explained, and that merely restates the enum already in the schema.

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?

States a specific verb and resource ('Update a customer') and scopes it to 'this organization', which lets an agent separate it from create_customer, get_customer, and delete_customer in the sibling list. It stops short of naming any sibling explicitly, so it is clear but not differentiated by prose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus alternatives such as update_item, update_supplier, or upload_customer_logo, and no prerequisites (permissions, whether the customer must already exist). The only usage-adjacent fact is that customer_id is required, which the schema already enforces via the required array.

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