Skip to main content
Glama

Merge or keep apart a possible duplicate

decide_contact_duplicate

Answer a suggestion from list_contact_duplicates: merge makes them one contact (the older one kept, every value and job link moved, undoable with undo_contact_merge); dismiss keeps them apart for good. Managers and admins only; confirm with the user first.

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": {
      "id": "<id>",
      "action": "<action>"
    },
    "name": "decide_contact_duplicate"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSuggestion id from list_contact_duplicates.
actionYesmerge or dismiss.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnly=false, destructive=false, openWorld=false, idempotent=false. The description goes well beyond that: it discloses which contact survives a merge, that all values and job links are carried over, that merge is undoable via undo_contact_merge, and that dismiss is permanent ('for good'). It also surfaces the permission requirement and a user-confirmation obligation, which the annotations cannot express.

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?

It is a single front-loaded sentence built as 'answer a suggestion' followed by the two branches, so the reader gets the frame before the detail. The nested parenthetical packing three merge effects, plus a trailing permission/confirmation clause, makes it dense but no sentence is wasted.

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?

With only two parameters, full schema coverage, no output schema, and annotations already covering the safety profile, the definition supplies everything an agent needs: origin of the id, the two valid actions and their consequences, reversibility, and access preconditions.

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%, so both parameters are already documented, and the description adds real meaning by spelling out the semantics of the undocumented 'merge' and 'dismiss' values (the schema only lists them without definitions). The 'id' parameter gets no additional detail beyond the schema's 'Suggestion id from list_contact_duplicates', so it is not a full 5.

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?

The description names a specific action ('answer a suggestion') and then defines both possible outcomes of that action, merge and dismiss, with concrete effects (older contact kept, values and job links moved). An agent can distinguish this from sibling tools such as merge_contacts or undo_contact_merge without opening any schema.

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

Usage Guidelines5/5

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

It explicitly anchors usage to a suggestion originating from list_contact_duplicates and routes reversal to undo_contact_merge, so each tool's role is clear. It also states prerequisites and a procedural rule ('Managers and admins only; confirm with the user first'), leaving nothing to inference.

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