Skip to main content
Glama

Update a customer

asks_update_customer
Idempotent

Updates a customer's name, email, phone, status or tags (tags replaces the list). Never write a platform id or phone number as a name. A blocked customer's status can't change here (CONFLICT): a teammate unblocks them in the dashboard.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
tagsNo
emailNo
phoneNo
statusNo
customer_idYesThe customer id (from a list/search tool — never guess it).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false and closed-world scope, so the safety profile is covered. The description adds real value beyond that: tags replaces the whole list rather than merging, name inputs are validated against ids/phone numbers, and blocked-customer status changes fail with CONFLICT. Those extras are useful but sparse, and it says nothing about partial-update semantics (whether omitted fields are untouched) or permissions, so it sits just above baseline.

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 dense sentences, front-loaded with the field list, followed by the two highest-risk caveats. The parenthetical '(`tags` replaces the list)' is slightly awkward but earns its place; nothing else is padding.

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 6-parameter mutation with no output schema, the definition covers the key risks an agent needs: overwrite semantics on tags, the blocked-status CONFLICT path, and an input sanity rule. It omits whether unspecified fields are preserved and what the response contains, which are minor given a compact, idempotent update.

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?

With only 17% schema description coverage, the description carries most of the parameter burden and does: it implies which of the six fields are updatable and supplies the crucial semantic that tags overwrites rather than appends, plus a validation constraint on name. Status is not described beyond the enum already in the schema, and field-level formats for email/phone are left to 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?

Opens with a specific verb and resource ('Updates a customer') and enumerates the mutable fields (name, email, phone, status, tags), which cleanly separates it from the read-side sibling asks_get_customer. It never explicitly contrasts itself with the other update tools or the search tools, 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 Guidelines4/5

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

Gives a clear when-not condition: a blocked customer's status cannot be changed here and must be unblocked by a teammate in the dashboard (surfaced as CONFLICT). It also warns against putting a platform id or phone number in the name field. It does not name an alternative tool for any case, so 4 rather than 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