Skip to main content
Glama

update_client

Destructive

Update a client (name, company, email, phone, notes). client = its name or id.

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": {
      "client": "<client>"
    },
    "name": "update_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNonew client name
emailNoemail address, e.g. "anna@acme.com"; null clears it
notesNofree notes about the client; null clears them
phoneNophone number with country code, e.g. "+380 99 123 45 67"; null clears it
clientYesclient name or id (from list_clients)
companyNocompany name, e.g. "Acme Ltd"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / client / description
      Added value: +"client name or id (from list_clients)"
    • addedInput schema / properties / company / description
      Added value: +"company name, e.g. \"Acme Ltd\""
    • addedInput schema / properties / email / description
      Added value: +"email address, e.g. \"anna@acme.com\"; null clears it"
    • addedInput schema / properties / name / description
      Added value: +"new client name"
    • addedInput schema / properties / notes / description
      Added value: +"free notes about the client; null clears them"
    • addedInput schema / properties / phone / description
      Added value: +"phone number with country code, e.g. \"+380 99 123 45 67\"; null clears it"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=false, so the safety profile is known. The description adds only the set of updatable fields; it does not explain why the call is destructive (presumably nulling fields), whether omitted fields are preserved, or how name ambiguity is resolved when two clients share a name. Useful but thin beyond what the annotations carry.

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 compact sentences with the action front-loaded and zero filler. The field parenthetical slightly duplicates schema property descriptions, which keeps it from being maximally economical, but nothing is wasted.

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?

The tool is a six-parameter mutation with no output schema, and the schema is fully annotated, so coverage is adequate for basic invocation. However, given destructiveHint=true, the description should say whether the update replaces the record, whether omitted fields survive, and what the caller gets back; those gaps leave it merely adequate.

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 every parameter is already documented, including null-clears semantics and example formats. The description's parenthetical field list and the "client = its name or id" note restate schema content rather than adding new meaning, so the baseline 3 applies.

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") and enumerates the mutable fields (name, company, email, phone, notes). The verb alone separates it from create_client and delete_client, so an agent can place it in the CRUD family without opening the schema, though no sibling is named explicitly.

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 explicit when-to-use or when-not-to-use guidance and no mention of alternatives or prerequisites. The only usage-adjacent content is the identifier note ("client = its name or id"), which explains how to target the record rather than when to choose this tool over create_client or get_client_totals.

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.