Skip to main content
Glama
people-context

people-context

merge_people

Destructive

Merge a duplicate person record into a primary person atomically, consolidating duplicate contacts while preserving a single source of truth.

Instructions

Merge a duplicate person into a primary person atomically.

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": {
      "primary_id": "<primary_id>",
      "duplicate_id": "<duplicate_id>"
    },
    "name": "merge_people"
  }
}

Input Schema

NameRequiredDescriptionDefault
primary_idYes
duplicate_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "merge_peopleDictOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv1.1.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description adds "atomically" which is genuine extra context about transactional all-or-nothing behavior. However, it never says what actually happens to the duplicate record (deleted? aliased?), whether merged facts/relationships are preserved, or whether the operation is reversible — important omissions for a destructive merge.

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?

A single tight sentence with the key qualifier ("atomically") placed where it matters and zero filler. It is appropriately front-loaded, though the terseness borders on under-specification rather than economy.

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?

This is an irreversible, destructive, two-required-parameter mutation with no output schema and no parameter documentation, so the description carries nearly the full burden — yet it omits outcome, reversibility, and preconditions. An agent could invoke it correctly but has no basis for judging consequences or ordering it against resolve_person.

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 bare "Primary Id" and "Duplicate Id" titles carry the burden. The sentence does add directional meaning — duplicate flows into primary, so primary_id is the survivor — but it does not say whether duplicate_id ceases to exist afterward or how to recover it, leaving the most consequential parameter semantics implicit.

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?

States a specific verb and resource ("Merge a duplicate person into a primary person") and even encodes directionality: the duplicate is absorbed into the primary. It does not differentiate itself from adjacent siblings such as resolve_person or get_consolidation_context, so the agent must infer the boundary.

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?

There is no when-to-use guidance, no prerequisite (e.g., first inspect with get_consolidation_context or get_person_context), and no mention of alternatives like resolve_person or add_alias for lighter-weight dedup. The agent must guess the workflow position of this tool.

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