Skip to main content
Glama

Merge duplicate customers

merge_customers
Destructive

Merge a duplicate customer record into the winner. The loser's identities, sessions, and tickets move to the winner; the loser row is 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": {
      "winnerCustomerId": "<winnerCustomerId>",
      "loserCustomerId": "<loserCustomerId>"
    },
    "name": "merge_customers"
  }
}

Input Schema

NameRequiredDescriptionDefault
loserCustomerIdYes
winnerCustomerIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, and the description adds concrete consequences: identities, sessions, and tickets move to the winner, and the loser row is deleted. That is useful behavioral context beyond the annotations, though it does not explicitly state irreversibility or conflict-resolution behavior.

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?

Two compact sentences with no wasted wording. The main action is front-loaded and immediately followed by the data-migration and deletion consequences.

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 simple two-parameter destructive mutation, the description covers the essential outcome and side effects. It lacks return-value details, but no output schema exists and the annotations already flag the operation as destructive.

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 0%, so the description must clarify the two UUID parameters. It explains the winner/loser relationship and what moves from the loser, but does not explain how to select a winner, whether the IDs must belong to the same workspace, or other constraints.

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 states a specific verb and resource: merge a duplicate customer record. It clearly defines the winner/loser roles and the resulting state, which distinguishes this operation from the surrounding ticket, session, and automation tools.

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?

It implies the tool is for duplicate customer records, but gives no explicit when-to-use conditions, prerequisites, or alternatives. It also does not tell the agent when a merge should be avoided or how to confirm that a duplicate exists.

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