Skip to main content
Glama

Update Contact

update_contact
DestructiveIdempotent

Update fields on an existing contact. Allowed fields: first_name, middle_name, last_name, phone, company_name, city, state, country, postal_code, job_title, department, industry, lead_source, contact_type (active, bounce, abuse, unsubscribe, suppressed, spam complaints — e.g. unsubscribe to stop Marketing Platform campaigns reaching the contact; a contact_type change returns a preview and applies only with confirm: true), tags, custom_fields. Do not include sensitive personal data (health, financial, government ID, payment card, passwords).

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

Input Schema

NameRequiredDescriptionDefault
fieldsYesFields to update
confirmNoRequired when fields include contact_type: set true only after the user agrees to the status change shown in the preview
dry_runNoValidate and show what would be sent without changing anything
contact_idYesContact ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / contact_id / description
      Previous value: -"Contact ID,required"New value: +"Contact ID"
    • changedInput schema / properties / fields / description
      Previous value: -"Fields to update,required"New value: +"Fields to update"
  2. Changed1 schema field changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Required when fields include contact_type: set true only after the user agrees to the status change shown in the preview",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • removedInput schema / properties / api_key
      Removed value: -{
      -  "description": "MailerCloud API key",
      -  "type": "string"
      -}
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "Validate and show what would be sent without changing anything",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A4/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 still adds real value by disclosing that a contact_type change is a two-step operation returning a preview that only applies with confirm: true. It also warns against submitting sensitive personal data, a compliance constraint not expressible in the schema. It does not explain what destructive means here (e.g., whether omitted fields are cleared or overwritten), which is the remaining gap.

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 description is front-loaded with the core action, then the allowed-field list, then the contact_type caveat, then the data-handling warning. The field enumeration is long but every item earns its place because the schema cannot constrain the keys. The nested parenthetical around contact_type is dense and slightly hard to parse but is not wasted text.

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 four-parameter mutation tool with a nested free-form object and no output schema, the definition covers allowed inputs, the confirm flow, dry-run behavior (via schema), and data restrictions. It leaves the shape of the returned preview unstated, which is the one thing an agent would need to interpret the confirm step, but the overall coverage is close to sufficient.

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 baseline would be 3, but the `fields` parameter is typed as a free-form object with additionalProperties: true — the schema does not enumerate valid keys. The description compensates by listing all allowed field names, which is the single most useful piece of information for correct invocation. It does not explain value formats for fields like tags or custom_fields, but that is a minor residual gap.

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 states a specific verb and resource ('Update fields on an existing contact') and enumerates the mutable fields, which is far more than the title alone conveys. It distinguishes an edit of an existing record from creation implicitly via 'existing contact', but never names the close siblings create_contact or upsert_contact, so the agent must infer the boundary itself.

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?

Usage context is clear: this is for modifying an existing contact, and the contact_type clause explains the preview-then-confirm workflow with a concrete example (unsubscribe stopping Marketing Platform campaigns). It also gives an explicit prohibition on sensitive personal data. What's missing is routing guidance versus upsert_contact or batch_create_contacts, which is the main ambiguity an agent would face.

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