Skip to main content
Glama
mcp-chatwoot

mcp-chatwoot

by serversmx

merge_contacts

Merge two contacts into one by keeping a base contact, transferring all conversations, labels, and custom attributes to it, and permanently deleting the duplicate.

Instructions

Merge two contacts into one. The base contact remains and receives all data (conversations, labels, custom attributes) from the mergee contact. The mergee contact is permanently deleted.

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": {
      "base_contact_id": "<base_contact_id>",
      "mergee_contact_id": "<mergee_contact_id>"
    },
    "name": "merge_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idNoChatwoot account ID to use. If omitted, uses the default account from CHATWOOT_ACCOUNT_ID env var.
base_contact_idYesThe contact ID that will remain after the merge
mergee_contact_idYesThe contact ID that will be merged and deleted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does the most important part well: it discloses the irreversible destructive outcome ('permanently deleted') and enumerates what transfers (conversations, labels, custom attributes). It stops short of stating that there is no undo/merge-reversal path or whether any permission level is required, which keeps it from a 5.

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 short sentences, each doing distinct work: action, data-transfer direction, destructive consequence. The payload-relevant facts are front-loaded and there is no filler.

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

Completeness4/5

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

For a 3-parameter destructive mutation with no annotations and no output schema, the description covers the essentials an agent needs to call it correctly and understand the consequence. The remaining gap is the return value — with no output schema, the description never says what comes back after the merge (e.g., the surviving contact object), which would have made it fully complete.

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 all three parameters are already documented with their roles. The description reinforces the base-vs-mergee distinction but adds no syntax, format, or constraint detail beyond what the schema already says. Baseline 3 applies when the schema does the heavy lifting.

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 ('Merge two contacts into one') and immediately defines the direction of the operation: base survives, mergee is absorbed and deleted. This unambiguously separates it from siblings like delete_contact or create_contact without needing to open the schema.

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

Usage Guidelines3/5

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

The description makes clear what happens when you call it, which implicitly tells an agent this is for consolidating duplicate contacts. However, it offers no explicit when-to-use guidance, no mention of prerequisites (e.g., both contacts must exist in the same account), and no pointer to delete_contact for the case where an agent only wants removal without consolidation.

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

Deploy Server

Other Tools