Skip to main content
Glama

Undo a contact merge

undo_contact_merge

Split a merge back: the removed contact returns with its own values and job links. Merge ids come from list_contact_merges. Anyone in Sales, a manager or an admin; a merge can be undone once.

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": {
      "mergeId": "<mergeId>"
    },
    "name": "undo_contact_merge"
  }
}

Input Schema

NameRequiredDescriptionDefault
mergeIdYesThe merge's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint false, destructiveHint false, idempotentHint false), the description discloses the restore scope — the removed contact comes back with its own values and job links — plus authorization roles and the one-shot undo limit, which is the key behavioral constraint. It does not say what happens to data the surviving contact received during the merge, which is the main remaining ambiguity.

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, front-loaded with the effect, then the id source, then authorization and the once-only limit. No filler and no repetition of schema or annotation content.

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

Completeness5/5

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

For a single-parameter mutation with no output schema, the definition covers effect, id provenance, permissions, and the reversibility limit — enough for an agent to decide and call correctly. Additional return-value detail is not required since there is no output schema to defer to.

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

Parameters4/5

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

Schema coverage is 100% and the only parameter is already described as "The merge's id." The description adds provenance the schema lacks by pointing to list_contact_merges as the source of valid ids, which is the useful extra for a single required identifier.

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?

"Split a merge back: the removed contact returns with its own values and job links" names a specific action and its concrete effect, making it immediately distinguishable from merge_contacts and from the rest of the contact siblings. An agent knows exactly what this does without opening 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 Guidelines4/5

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

It tells the agent where the required id comes from (list_contact_merges) and states the eligibility constraint (Sales, manager or admin), which is genuine routing context. It stops short of explicit exclusions, e.g. what to do if the undo was already performed, though the "can be undone once" note covers most of that case.

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