Skip to main content
Glama
Stables MCP Server

Stables MCP Server

Official

Update customer

update_customer
DestructiveIdempotent

Update customer details, entitlements, or verification information

Instructions

Update customer details, entitlements, or verification information

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

Input Schema

NameRequiredDescriptionDefault
dobNoUpdated date of birth (YYYY-MM-DD)
emailNoUpdated email address
phoneNoUpdated phone number
lastNameNoUpdated last name
firstNameNoUpdated first name
customerIdYesThe customer ID to update
middleNameNoUpdated middle name
companyNameNoUpdated company name (for businesses)
nationalityNoUpdated nationality (two-letter country code)
entitlementsNoUpdated entitlements

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.6.13
    • changedInput schema / properties / entitlements / items / enum
      Previous value: -[
      -  "base_payout",
      -  "virtual_account",
      -  "eur_virtual_account",
      -  "gbp_virtual_account",
      -  "usd_virtual_account",
      -  "aed_local"
      -]New value: +[
      +  "base_payout",
      +  "base_pay_in",
      +  "virtual_account",
      +  "eur_virtual_account",
      +  "gbp_virtual_account",
      +  "usd_virtual_account",
      +  "aed_local"
      +]
  2. Changed1 schema field changedv2.6.11
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Changed1 schema field changedv2.4.0
    • changedInput schema / properties / entitlements / items / enum
      Previous value: -[
      -  "base_payout",
      -  "virtual_account"
      -]New value: +[
      +  "base_payout",
      +  "virtual_account",
      +  "eur_virtual_account",
      +  "gbp_virtual_account",
      +  "usd_virtual_account",
      +  "aed_local"
      +]
  4. First observedv1.4.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare the safety profile (destructiveHint=true, idempotentHint=true, readOnlyHint=false), so the description needs to explain the consequences of that destructiveness. It does not: it never says whether a partial update is allowed, whether supplying 'entitlements' replaces the full entitlement set, or what the 'verification information' mutation actually changes — the most consequential question for a destructive, idempotent update.

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?

One short, front-loaded sentence with no filler. It is efficient, though its brevity is partly the source of the missing behavioral detail rather than a virtue in itself.

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 ten-parameter mutation flagged destructive, the definition leaves out essential operational facts: partial-vs-full update semantics, whether entitlements are additive or replacing, and any permission requirements. With no output schema, the description should also indicate what the caller gets back, which it does not.

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 description coverage is 100%, so each of the ten fields is documented in the schema and the baseline is 3. The description groups them into 'details, entitlements, verification information' but adds no meaning beyond that grouping, and 'verification information' does not clearly map to any listed parameter.

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 clear verb ('Update') and resource ('customer') and enumerates the areas of change: details, entitlements, verification information. It does not, however, distinguish this from the sibling update_customer_metadata, so an agent cannot tell which fields belong to which tool from the description alone.

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 guidance on when to use this tool versus update_customer_metadata, create_customer, or archive_beneficiary. No prerequisites, no mention of what state the customer must be in, and no exclusions are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.