Skip to main content
Glama

Update a contact

update_contact
DestructiveIdempotent

Update fields on an existing contact, move it to a new pipeline stage, change lifecycle, set email/phone/name, or mark do_not_contact. Only the fields you pass are changed; tags replaces the tag set (use add_tag to merge instead).

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
tagsNoReplacement tag list, this REPLACES existing tags. Use add_tag to merge.
emailNoThe contact email address. Use to locate a contact when you do not have its id, or to set a new email on update_contact.
phoneNoPhone number.
last_nameNoLast name.
lifecycleNo
contact_idYesThe contact id (uuid) from find_contact / list_contacts / search_leads.
first_nameNoFirst name.
do_not_contactNotrue → suppress all outbound messaging to this contact.
pipeline_stageNoStage name: must match a stage from list_pipeline_stages.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNoPresent only when ok is false.
contactNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / pipeline_stage / description
      Previous value: -"Stage name — must match a stage from list_pipeline_stages."New value: +"Stage name: must match a stage from list_pipeline_stages."
    • changedInput schema / properties / tags / description
      Previous value: -"Replacement tag list — this REPLACES existing tags. Use add_tag to merge."New value: +"Replacement tag list, this REPLACES existing tags. Use add_tag to merge."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=false. The description adds real behavioural context by stating partial-update semantics and that tags performs a wholesale replacement, which partly explains the destructive flag. It still doesn't explain what the destruction risk is beyond tags (e.g. mis-set lifecycle/do_not_contact side effects) or note that pipeline_stage must exist beforehand.

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 sentences, zero filler. The capability list is front-loaded and the caveat (only passed fields change; tags replaces) follows immediately where an agent needs it.

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 parameters, an output schema, and rich annotations, the definition covers the critical semantics an agent needs: partial updates, tag replacement, and the required contact_id source. Minor gaps remain around validation failure modes for pipeline_stage and lifecycle, but nothing call-breaking is missing.

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 89%, so the schema already documents nearly every parameter, including the tags-replaces warning and the pipeline_stage lookup hint. The description reinforces the tags/add_tag distinction and the partial-update rule but adds little parameter meaning the schema doesn't already carry; 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 names a specific verb (update) and resource (existing contact), then enumerates the concrete operations: pipeline stage, lifecycle, email/phone/name, do_not_contact. 'Existing contact' implicitly separates it from upsert_contact, though that sibling is never named, so the differentiation is inferential rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear operational rule — 'only the fields you pass are changed' — and explicitly routes one case to an alternative: use add_tag instead of tags when merging. It does not cover when to choose this over upsert_contact or when to prefer a dedicated tool.

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