Skip to main content
Glama

Update a customer

update_customer
Destructive

Update a customer

Changes only the fields you send. Pause a customer to stop its keys; spendLimitUsd sets its monthly limit and null removes it.

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": {
      "id": "<id>"
    },
    "name": "update_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe customer id.
nameNo
emailNo
statusNo
externalRefNoMust be unique per account (409 conflict otherwise); null clears it.
spendLimitUsdNoMonthly spending cap at our price; null removes it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is given. The description adds real value by disclosing partial-update semantics and the side effect that pausing stops the customer's keys, plus that null clears fields. However, it says nothing about permissions, reversibility of a paused state, or the visible consequence of a destructive update, so it does not fully exploit the gap annotations leave.

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?

Two tight sentences with the scoping rule front-loaded before the field-specific consequences; there is no filler. The only waste is the opening repetition of the title "Update a customer" before the substantive content begins.

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 partial-update tool with no output schema, the description covers field-level behavior but never indicates what is returned after an update or how errors such as the externalRef conflict surface. It is adequate to invoke the tool correctly but leaves an agent guessing about the result of the call.

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?

Schema coverage is only 50% (id, externalRef, spendLimitUsd documented; name, email, status not), so the description has to compensate and does so for status: it explains that pausing stops the customer's keys. The "null removes it" note reinforces spendLimitUsd, and "only the fields you send" clarifies the optionality of name/email. It adds meaning beyond the schema, though name and email constraints remain unexplained.

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 names a specific verb and resource ("Update a customer") and states the core update semantics: "Changes only the fields you send." It is clearly distinguishable from update_account/update_gateway by resource name, though it never says so explicitly. The one point lost is the lack of explicit 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?

The phrase "Changes only the fields you send" implies partial-update usage and "Pause a customer to stop its keys" implies one workflow, but there is no explicit when-to-use or when-not-to-use guidance. Nothing points the agent to create_customer, credit_customer, or delete_customer as alternatives. 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