Skip to main content
Glama
byndcloud

Unofficial Dex CRM MCP Server

by byndcloud

dex_update_custom_field

Modify custom field definitions in Dex CRM by updating names or types to better organize contact data and improve workflow efficiency.

Instructions

Update a custom field definition by ID (e.g. rename it).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customFieldIdYes
custom_fieldYes

Implementation Reference

  • The handler for dex_update_custom_field, which performs a PUT request to update a custom field by ID.
    server.tool(
      "dex_update_custom_field",
      "Update a custom field definition by ID (e.g. rename it).",
      {
        customFieldId: z.string(),
        custom_field: z.object({
          name: z.string().optional(),
          type: z.string().optional(),
        }),
      },
      async (args) => {
        try {
          const result = await dex.put(
            `/v1/custom-fields/${args.customFieldId}`,
            { custom_field: args.custom_field }
          );
          return toResult(result);
        } catch (error) {
          return toError(error);
        }
      }
    );
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states this is an update operation, implying mutation, but doesn't describe what happens during updates (e.g., whether changes affect existing data, if it's reversible, permission requirements, or error conditions). The example 'rename it' suggests one behavioral aspect but leaves others undocumented.

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 brief and front-loaded with the core purpose. The parenthetical example adds some context without unnecessary elaboration. However, it could be more structured by explicitly separating the action from the example.

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

Completeness2/5

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

Given the complexity (mutation operation with nested parameters, no annotations, no output schema, and 0% schema coverage), the description is inadequate. It doesn't explain what the tool returns, error handling, or the full scope of updatable fields beyond the naming example. For a mutation tool with undocumented parameters, more comprehensive guidance is needed.

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

Parameters2/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 for undocumented parameters. It mentions updating 'by ID' which maps to 'customFieldId', and the example 'rename it' hints at the 'name' property within 'custom_field'. However, it doesn't explain the 'type' property or the structure of the 'custom_field' object, leaving significant gaps in parameter understanding.

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 action ('Update') and resource ('custom field definition'), and specifies it's done by ID. It distinguishes from sibling 'dex_create_custom_field' by focusing on updates rather than creation. However, it doesn't explicitly differentiate from other update tools like 'dex_update_contact' or 'dex_update_group' beyond the resource type.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an existing custom field ID), when not to use it, or how it compares to other update operations in the sibling list. The example 'e.g. rename it' hints at one use case but doesn't establish clear boundaries.

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