Skip to main content
Glama
byndcloud

Unofficial Dex CRM MCP Server

by byndcloud

dex_remove_contacts_from_group

Remove specific contacts from a group in Dex CRM while preserving the contacts in your database. This tool helps you manage group membership by detaching selected contacts from a designated group.

Instructions

Remove one or more contacts from a group. The contacts themselves are not deleted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupIdYes
contactIdsYes

Implementation Reference

  • The tool 'dex_remove_contacts_from_group' is registered and implemented directly within the registerGroupTools function in src/tools/groups.ts. It takes a groupId and an array of contactIds, and performs a POST request to the group's contacts endpoint to remove them.
    server.tool(
      "dex_remove_contacts_from_group",
      "Remove one or more contacts from a group. The contacts themselves are not deleted.",
      {
        groupId: z.string(),
        contactIds: z.array(z.string()),
      },
      async (args) => {
        try {
          const result = await dex.post(`/v1/groups/${args.groupId}/contacts`, {
            contactIds: args.contactIds,
          });
          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 the full burden of behavioral disclosure. It clarifies that contacts are not deleted, which is useful, but omits critical details like required permissions, whether the operation is reversible, error handling for invalid IDs, or response format.

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?

The description is a single, efficient sentence that front-loads the core action and adds a clarifying note about non-destruction. There is no wasted verbiage, making it easy to parse quickly.

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?

For a mutation tool with no annotations, 0% schema coverage, and no output schema, the description is insufficient. It lacks details on behavioral traits, parameter semantics, error conditions, and return values, leaving significant gaps for an agent to invoke it correctly.

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 but fails to do so. It mentions 'groupId' and 'contactIds' implicitly but provides no details on format, validation, or examples (e.g., UUIDs, maximum array size). This leaves parameters largely undocumented.

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 ('Remove') and target resources ('contacts from a group'), distinguishing it from deletion tools like dex_delete_contact. However, it doesn't explicitly differentiate from sibling dex_manage_contact_tags, which might also handle group associations indirectly.

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 is provided on when to use this tool versus alternatives like dex_update_contact or dex_manage_contact_tags for contact-group management. The description lacks context about prerequisites, such as whether contacts must already be in the group.

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