Skip to main content
Glama

Sergio by Serviche

Merge two conversations

merge_conversations
DestructiveIdempotent

Moves everything in conversation_id (messages, calls, emails, tasks) into target_conversation_id and removes the empty one, as the thread menu's Merge does. It cannot be split back. Pass the same idempotency_key when retrying; the same pair merges 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": {
      "conversation_id": "<conversation_id>",
      "target_conversation_id": "<target_conversation_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "merge_conversations"
  }
}

Input Schema

NameRequiredDescriptionDefault
conversation_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.
target_conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds the actual mechanics: everything is relocated into the target and the now-empty source is deleted, the operation 'cannot be split back', and the same pair merges only once. That is genuine context beyond the annotation flags, though it says nothing about error behavior or what a successful response contains.

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 tight sentences with the core effect front-loaded, followed by the irreversibility warning and the retry rule in priority order. No filler and nothing repeated from the schema.

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 destructive, three-parameter mutation with no output schema, the description covers effect, irreversibility, and idempotency adequately. A note on post-merge state (status, ownership, client linkage of the surviving conversation) would close the remaining gap.

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 description coverage is only 33% (only idempotency_key is documented), so the description must carry the rest — and it does, establishing that conversation_id is the source whose contents are drained and target_conversation_id is the survivor, plus the retry contract for the key. It still does not clarify what happens if the two ids are equal or point to different clients.

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 ('Moves everything ... into ... and removes the empty one') with both source and target resources named, and enumerates the payload (messages, calls, emails, tasks). No sibling performs a merge, and the 'thread menu's Merge' analogy makes the semantic unambiguous.

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?

Gives useful operational guidance for retries ('Pass the same idempotency_key when retrying') and warns that the action is irreversible. However, it never says when to choose this over adjacent tools like assign_conversation, close_conversation_flow, or bulk_clear_conversations, nor states prerequisites or required permissions.

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