Skip to main content
Glama

Update Contact

update_contact
Destructive

Edit a contact's name, email or phone (email/phone stored in contact_info). email_bad=true marks the contact's email as bad (bounced, or the wrong person) so mailings skip it, and false clears the mark; email_bad_address limits that to one address when the contact has several. Changing email to a different address clears the mark.

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": {
      "clientId": "<clientId>",
      "contactId": "<contactId>"
    },
    "name": "update_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoAn email address, e.g. name@example.com.
phoneNoA phone number, e.g. +1 734 555 0142.
clientIdYesA client's id (from search or list_clients).
contactIdYes
email_badNo
last_nameNoA person's last name.
first_nameNoA person's first name.
email_bad_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / clientId / description
      Added value: +"A client's id (from search or list_clients)."
    • addedInput schema / properties / email / description
      Added value: +"An email address, e.g. name@example.com."
    • addedInput schema / properties / first_name / description
      Added value: +"A person's first name."
    • addedInput schema / properties / last_name / description
      Added value: +"A person's last name."
    • addedInput schema / properties / phone / description
      Added value: +"A phone number, e.g. +1 734 555 0142."
  2. Changed2 schema fields changed
    • addedInput schema / properties / email_bad
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / email_bad_address
      Added value: +{
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare the safety profile (destructiveHint=true, idempotentHint=false, readOnlyHint=false), so the description does not need to restate that mutation is unsafe. What it does add is real: the downstream effect that email_bad suppresses mailings, the storage location (contact_info), and the non-obvious side effect that changing the email address silently clears the bad mark — a state loss worth disclosing. It stops short of explaining partial-update semantics (whether omitted fields are left untouched), which matters for an 8-parameter non-idempotent updater.

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?

The core action is front-loaded in the first clause, and every subsequent sentence carries operational meaning (flag semantics, scoping, side effect). Semicolon-chained clauses make the email_bad rules slightly dense on first read, but nothing is filler.

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?

For a mutation tool with annotations covering safety and no output schema, the description supplies what the structured fields cannot: the mailing-suppression effect and the mark-clearing side effect. Missing only the partial-update convention and contactId semantics, which are minor against the rest of the coverage.

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 63%, leaving email_bad, email_bad_address and contactId undocumented in the schema — the description rescues the two hardest of those by defining email_bad's true/false meaning and email_bad_address's scoping role. contactId is still undefined anywhere, and the description adds no clarification of the email/phone-in-contact_info mapping beyond parenthetical asides.

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 ('Edit a contact's name, email or phone') and enumerates the mutable fields, so the agent knows exactly what changes. It implicitly separates itself from add_contact/delete_contact by being an edit, but never names a sibling to sharpen the distinction.

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?

Usage is implied rather than stated: the agent learns when email_bad should be set true vs false and when to narrow with email_bad_address, which is genuinely conditional guidance. However, there is no explicit 'use this instead of X' routing to add_contact or any other sibling, and no statement of prerequisites.

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