Skip to main content
Glama
mcp-synology

mcp-synology

merge_people

Destructive

Merge face-recognition groups in Synology Photos that show the same person into one target person, keeping its ID. If any person isn't found, nothing is merged.

Instructions

Merge people (face-recognition groups) in Synology Photos that are the same person: every person in merge_ids and merge_names joins the target, which keeps its id, and the merged people are gone. If any person isn't found, nothing is merged. This can't be undone, so confirm with the user first. To rename or hide one person, use edit_person.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "merge_people"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe name after the merge; default the target's.
spaceNo`personal` (default) or `shared` (Shared Space). IDs belong to one space.personal
merge_idsNoIDs of the people merged into the target.
target_idNoThe person to keep. Person ID (list_photo_collections type=person).
merge_namesNoNames of the people merged into it, case ignored.
target_nameNoOr that person's name, case ignored; not with target_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.10.1
    • removedInput schema / properties / merge
      Removed value: -{
      -  "description": "The people merged into `target`, as IDs or unique names.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / merge_ids
      Added value: +{
      +  "description": "IDs of the people merged into the target.",
      +  "items": {
      +    "type": "integer"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / merge_names
      Added value: +{
      +  "description": "Names of the people merged into it, case ignored.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / target
      Removed value: -{
      -  "description": "The person to keep. Person ID (list_photo_collections type=person) or unique name.",
      -  "type": "string"
      -}
    • addedInput schema / properties / target_id
      Added value: +{
      +  "description": "The person to keep. Person ID (list_photo_collections type=person).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / target_name
      Added value: +{
      +  "description": "Or that person's name, case ignored; not with target_id.",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "target",
      -  "merge"
      -]
  2. Addedv0.9.2

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true; the description goes well beyond them by disclosing irreversibility, the all-or-nothing failure mode ("If any person isn't found, nothing is merged"), and which records survive (target keeps its id, merged people are gone). It also tells the agent to obtain user confirmation before invoking, which is the key operational behavior for a destructive tool.

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 sentences, front-loaded with the effect, then the transactional guarantee, then the safety warning and sibling pointer. No restatement of the tool name or schema fields and nothing extraneous.

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 6-parameter destructive merge with no output schema, the description covers effect, survivor identity, failure atomicity, irreversibility, and the correct sibling for single-person edits — everything an agent needs before calling. Space scoping is left to the schema, which documents it adequately.

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 the baseline is 3, but the description adds genuine inter-parameter meaning: merge_ids and merge_names are both joined into the target, and target_name is an alternative to target_id. It does not explain the name/space interaction further, but the combined-list semantics is real value beyond the field-level docs.

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 people (face-recognition groups) in Synology Photos that are the same person") and immediately defines the resulting state: the target keeps its id and the merged people are gone. That framing lets an agent distinguish it from edit_person without opening either 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?

Gives an explicit exclusion with a named alternative — "To rename or hide one person, use edit_person" — and an explicit prerequisite — "confirm with the user first" because the action can't be undone. The when-to-use case is embedded in the purpose sentence (people that are the same person).

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