Skip to main content
Glama
byndcloud

Unofficial Dex CRM MCP Server

by byndcloud

dex_update_contact

Update contact details in Dex CRM by ID, modifying only specified fields while preserving others. Supports name, email, phone, social profiles, tags, groups, and custom fields.

Instructions

Update a contact by ID. Only included fields are modified; omitted fields remain unchanged. Supports all fields: name, company, job title, emails (contact_emails array with email/label/ranking), phone numbers (contact_phone_numbers array with phone_number/country_code/label/ranking), social profiles (linkedin, twitter, facebook, instagram, telegram, tiktok, youtube), addresses (legacy_contact_addresses), custom field values, group associations (groups_contacts), tag associations (tags_contacts with append/remove), related contacts, birthday, archival status, and more.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contactIdYes
dataYes

Implementation Reference

  • Implementation of the dex_update_contact tool, which takes a contactId and a data object to update contact details using a PUT request to the Dex API.
    server.tool(
      "dex_update_contact",
      "Update a contact by ID. Only included fields are modified; omitted fields remain unchanged. Supports all fields: name, company, job title, emails (contact_emails array with email/label/ranking), phone numbers (contact_phone_numbers array with phone_number/country_code/label/ranking), social profiles (linkedin, twitter, facebook, instagram, telegram, tiktok, youtube), addresses (legacy_contact_addresses), custom field values, group associations (groups_contacts), tag associations (tags_contacts with append/remove), related contacts, birthday, archival status, and more.",
      {
        contactId: z.string(),
        data: z.object(contactFieldsShape),
      },
      async (args) => {
        try {
          const result = await dex.put(`/v1/contacts/${args.contactId}`, args.data);
          return toResult(result);
        } catch (error) {
          return toError(error);
        }
      }
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses the partial update behavior ('Only included fields are modified; omitted fields remain unchanged'), which is valuable. However, it doesn't mention authentication requirements, rate limits, error conditions, or what happens on success/failure. For a mutation tool with zero annotation coverage, this leaves significant behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately front-loaded with the core purpose and partial update behavior. However, the exhaustive field listing creates redundancy with the schema and could be more concise. Some sentences (like the field enumeration) could be trimmed while maintaining clarity.

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?

Given a mutation tool with 2 parameters, complex nested objects, no annotations, and no output schema, the description does well on parameter semantics but lacks behavioral context. It explains what can be updated but not how the update behaves (e.g., validation, error responses). For this complexity level, it's partially complete but has notable gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It provides extensive semantic context beyond the schema: explains the partial update mechanism, lists all supported fields with examples of complex structures (emails array, tags with append/remove operations), and clarifies that 'data' contains the updatable fields. This adds substantial value over the bare schema.

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 clearly states the verb 'Update' and resource 'contact by ID', making the purpose explicit. It distinguishes from siblings like dex_create_contact (create) and dex_delete_contact (delete), but doesn't explicitly differentiate from other update tools like dex_update_group or dex_update_tag.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives is provided. The description doesn't mention prerequisites (e.g., needing a valid contact ID), when to choose this over dex_merge_contacts, or when to use sibling tools like dex_manage_contact_tags for tag operations instead. Usage is implied but not explicitly stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/byndcloud/unofficial-dex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server