Skip to main content
Glama

Update Client

update_client
Destructive

Update a client's name/address/city/state/zip, and set a client-level email/phone (used for invoices/payment links when a booking has no contact email). Optional note appends a note to the client's history (same as add_client_note).

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_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record's numeric id, from the matching list/get/search tool.
zipNoA US ZIP code, e.g. 48154.
cityNoA city name.
nameNoA name (person or company, depending on the tool).
noteNoFree-text note.
emailNoAn email address, e.g. name@example.com.
phoneNoA phone number, e.g. +1 734 555 0142.
stateNoUS state as a 2-letter code, e.g. MI.
addressNoA street address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / address / description
      Added value: +"A street address."
    • addedInput schema / properties / city / description
      Added value: +"A city name."
    • addedInput schema / properties / email / description
      Added value: +"An email address, e.g. name@example.com."
    • addedInput schema / properties / id / description
      Added value: +"The record's numeric id, from the matching list/get/search tool."
    • addedInput schema / properties / name / description
      Added value: +"A name (person or company, depending on the tool)."
    • addedInput schema / properties / note / description
      Added value: +"Free-text note."
    • addedInput schema / properties / phone / description
      Added value: +"A phone number, e.g. +1 734 555 0142."
    • addedInput schema / properties / state / description
      Added value: +"US state as a 2-letter code, e.g. MI."
    • addedInput schema / properties / zip / description
      Added value: +"A US ZIP code, e.g. 48154."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag a non-read-only, destructive, non-idempotent mutation, so the safety profile is covered. The description adds real context beyond that: email/phone are client-level contacts used for invoices and payment links when a booking lacks a contact email, and note appends to client history — meaningful side-effect disclosure. It still doesn't say whether omitted fields are cleared or preserved, which matters for a destructive update.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence with the primary action front-loaded and the qualifiers (invoice fallback, note-append equivalence) attached to the fields they modify. No filler, and the most consequential caveats are not buried behind boilerplate.

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?

With 9 well-documented parameters and annotations covering the mutation profile, the definition covers the key semantic questions an agent would have. The remaining gap is partial-update semantics — whether unset fields are wiped — which is notable given destructiveHint=true, but not fatal.

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 100%, so the baseline is 3, but the description goes further by explaining the business meaning of email/phone (invoice/payment-link fallback) and clarifying that note is not a simple field write but an append to history. That is genuine added meaning beyond the schema's per-field descriptions.

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 opens with a specific verb and resource ('Update a client's...') and enumerates the exact fields touched, so an agent knows precisely what the tool mutates. It does not explicitly distinguish itself from siblings like update_contact or create_client, so it falls short of a 5.

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 one routing hint is that 'note' behaves the same as add_client_note, which tells the agent the two are interchangeable for that field. There is no guidance on when to use this versus create_client, update_contact, or other update_* siblings, so usage is only implied.

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