Skip to main content
Glama

update_contact

DestructiveIdempotent

Update a contact (partial; empty values are NOT cleared). To blank a column, list it in clear_fields.

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

Input Schema

NameRequiredDescriptionDefault
cityNoCity
emailNoEmail address
notesNoFree-text notes
phoneNoPhone number
genderNom | w | d | x (no answer)
mobileNoMobile phone number
statusNoNew status
addressNoPostal address
countryNoCountry (ISO code or name)
websiteNoWebsite URL
positionNoJob title or position of the contact
instagramNoInstagram profile of the contact
last_nameNoLast name
account_idNoID of the account (company)
birth_dateNoYYYY-MM-DD
birth_yearNoWhen only the year is known
contact_idYesID of the contact to change
departmentNoDepartment
first_nameNoFirst name
salutationNoSalutation (e.g. Mr / Ms)
postal_codeNoPostal code
clear_fieldsNoColumn names to set to NULL (opt-in clear).
academic_titleNoAcademic title (e.g. Dr.)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • addedInput schema / properties / academic_title / description
      Added value: +"Academic title (e.g. Dr.)"
    • addedInput schema / properties / account_id / description
      Added value: +"ID of the account (company)"
    • addedInput schema / properties / address / description
      Added value: +"Postal address"
    • addedInput schema / properties / city / description
      Added value: +"City"
    • addedInput schema / properties / contact_id / description
      Added value: +"ID of the contact to change"
    • addedInput schema / properties / country / description
      Added value: +"Country (ISO code or name)"
    • addedInput schema / properties / department / description
      Added value: +"Department"
    • addedInput schema / properties / email / description
      Added value: +"Email address"
    • addedInput schema / properties / first_name / description
      Added value: +"First name"
    • addedInput schema / properties / instagram / description
      Added value: +"Instagram profile of the contact"
    • addedInput schema / properties / last_name / description
      Added value: +"Last name"
    • addedInput schema / properties / mobile / description
      Added value: +"Mobile phone number"
    • addedInput schema / properties / notes / description
      Added value: +"Free-text notes"
    • addedInput schema / properties / phone / description
      Added value: +"Phone number"
    • addedInput schema / properties / position / description
      Added value: +"Job title or position of the contact"
    • addedInput schema / properties / postal_code / description
      Added value: +"Postal code"
    • addedInput schema / properties / salutation / description
      Added value: +"Salutation (e.g. Mr / Ms)"
    • addedInput schema / properties / status / description
      Added value: +"New status"
    • addedInput schema / properties / website / description
      Added value: +"Website URL"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is partly covered. The description adds genuinely non-obvious behavior beyond that: omitted/empty values are NOT cleared, and clearing is opt-in via clear_fields, which tells the agent how to actually trigger the destructive path. It stops short of saying whether clears are reversible or what happens to invalid column names.

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?

Two short sentences, both load-bearing, with the partial-update caveat front-loaded before the remedy. Nothing is redundant or padded.

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 23-parameter mutation tool with no output schema, the description covers the highest-risk behavior (clear semantics) that an agent could otherwise get wrong. Minor gaps remain: no statement of return value shape (e.g., updated record or acknowledgement) and no error behavior for unknown fields, but these are secondary given the schema coverage and annotations.

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 coverage is 100%, so per-parameter meaning is already supplied by the schema and the baseline of 3 applies. The description adds one cross-cutting semantic rule — empty string arguments are ignored rather than being treated as NULL — which meaningfully changes how all the string parameters should be interpreted, but it does not elaborate on the clear_fields array beyond what the schema states.

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 uses a specific verb and resource ('Update a contact') and immediately qualifies the update as partial, which separates it from create/get/delete siblings. It does not distinguish itself from the provider-specific update siblings (update_brevo_contact, update_hubspot_contact, etc.), so an agent must infer the generic-vs-provider split from context.

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?

It states the partial-update rule and routes clearing behavior to the clear_fields parameter, which is actionable usage guidance. However, it gives no guidance on when to pick this tool over the provider-specific update siblings or upsert-style alternatives, and no prerequisites are 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.