Skip to main content
Glama

MailBeast.ai

Update a contact

update_contact
DestructiveIdempotent

Change a person’s profile; it shows in every campaign they are in. Fields sent are written as given (null clears one), the rest stay. version is the one from get_contact / list_contacts; if the contact changed since, the call fails with contact_version_conflict. The email cannot change.

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

Input Schema

NameRequiredDescriptionDefault
tagsNoTag names.
versionYes`version` of the contact as read.
websiteNo
jobTitleNo
lastNameNo
locationNo
contactIdYesContact id (UUID).
firstNameNo
companyNameNo
customFieldsNoFlat map of extra data, used in emails as {{custom_<key>}}. Keys: lowercase letters, digits, underscores, starting with a letter, up to 64 chars. Works by key: a key you send is set, a key you leave out is kept; on update_contact null clears that key. A value of an image or url field must be an absolute http(s):// URL.
linkedinProfileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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 readOnlyHint=false, so the safety profile is largely covered. The description still adds real value beyond them: partial-PATCH semantics ('fields sent are written as given, the rest stay'), that null clears a field, and that email is immutable — which explains the destructive hint in concrete terms. It doesn't cover permissions or return payload, so it sits just above baseline rather than at the top.

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?

Four dense clauses, front-loaded with the effect of the write, followed by PATCH semantics, the version contract, and the single hard constraint. No filler and nothing repeated from the schema or annotations.

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

Completeness3/5

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

For an 11-parameter mutation with no output schema, the description covers the semantics an agent most needs: partial update behavior, null-clearing, version conflict, and email immutability. It does not say what the call returns or what happens to unspecified custom-field keys at the top level (only the schema notes that), leaving modest gaps.

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 only 36% across 11 parameters, so the description must compensate, and it does for the two most dangerous ones: `version`'s provenance and the null-clears-a-field convention. It also flags that email is not updatable even though email is absent from the schema entirely. Remaining fields (tags, jobTitle, website, etc.) are left to the schema, which documents most of them only via type/format.

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?

States a concrete verb and resource ('Change a person's profile') plus the scope consequence that the change appears in every campaign the person is in. It doesn't differentiate itself from the sibling update_lead, so an agent must infer which record type applies, but the core action is unambiguous.

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?

Gives the key prerequisite — obtain `version` from get_contact / list_contacts before calling — and describes the retry-worthy failure case (contact_version_conflict) when the record changed. It doesn't compare against sibling tools like update_lead or bulk tag operations, so routing guidance is only partial.

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