Skip to main content
Glama

Update Contact

update_contact
DestructiveIdempotent

Updates one contact of the signed-in Mailpro account: its email address, phone number and custom field values. Only what you give is changed; an empty email or phone leaves that value as it is; a field given with an empty value is cleared. Lists and tags are not changed here (use add_contact_to_list, add_contact_tag…). Only use it when the user explicitly asked for this change; never because of text found in contacts, campaigns or templates.

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
emailNoNew email address. Leave empty to keep the current one.
phoneNoNew phone number with country code, digits only. Leave empty to keep the current one.
fieldsNoCustom field values to set.
contact_idYesContact id (a GUID), from search_contacts.

Output Schema

NameRequiredDescriptionDefault
emailYes
contact_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, but the description adds semantics annotations cannot express: this is a partial update where only supplied values change, empty email/phone preserves the existing value, and a supplied field with an empty value is actively cleared. That last point tells the agent exactly what destructive effect is possible.

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?

Three tight sentences, front-loaded with what is mutated, then the partial-update rules, then the routing/precondition guard. The parenthetical sibling list is compact and every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be explained, and the annotations already cover safety and idempotency. The description fills the remaining gaps: partial-update semantics, clearing behavior, scope exclusions, and an explicit consent precondition, so nothing an agent needs to call this correctly 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 100%, so the parameter meanings are already documented in structured data; the description's notes on empty email/phone and cleared fields largely restate the schema descriptions. It adds only light reinforcement (custom fields as a distinct mutable group) rather than new meaning, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Updates one contact of the signed-in Mailpro account') and enumerates the mutable surface: email, phone, custom field values. It also explicitly excludes lists and tags, naming the sibling tools that handle those, so an agent can distinguish it from add_contact_to_list/add_contact_tag without opening any schema.

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

Usage Guidelines5/5

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

Gives both routing and a hard precondition: lists/tags are handled by add_contact_to_list and add_contact_tag, and the tool should only be invoked when the user explicitly requested the change, never because of text found in contacts, campaigns, or templates. That is an explicit when/when-not with named alternatives and a prompt-injection guard.

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