Skip to main content
Glama

Update customer

update_customer
Idempotent

Partially update a customer — only provided fields change.

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
emailNo
notesNo
phoneNo
statusNo
tax_idNo
addressNo
countryNo
agent_idNo
customer_idYes
postal_codeNo
company_nameNo
contact_personNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare non-readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuine value by clarifying PATCH semantics ('only provided fields change'), which the annotations do not convey. It says nothing about required permissions, validation failures, or side effects on related records like agent_id reassignment.

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?

A single front-loaded sentence with no filler and the key qualifier placed early. It is efficiently worded, though the brevity borders on under-specification given the 13-parameter surface.

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?

For a mutation tool with 13 parameters, zero schema descriptions, and no output schema, the definition is too thin. An agent gets no field-level guidance, no required-parameter reminder, and no indication of what a successful update returns or how failures surface.

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 13 parameters, so the description must compensate and does not. It never mentions any field, the required customer_id, the status enum values, or what happens when a field is omitted versus set to null — the one semantic it does imply (omitted fields are untouched) is the only cue available.

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 adds the partial-update qualifier, which distinguishes it from a full replace and from create_customer. It doesn't explicitly contrast with other update_* siblings, but those target different resources, so the purpose is unambiguous.

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?

'Partially update' implies the use case (change a subset of fields rather than supplying a whole record), but the description never says when to prefer this over recreating or when not to call it. Usage is inferable rather than stated.

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