Skip to main content
Glama

Sergio by Serviche

Delete an empty or duplicate conversation

delete_conversation
DestructiveIdempotent

Deletes a conversation, as the thread menu's Delete does (an admin or owner seat; a member seat is refused): its emails, texts and calls move to each contact's own thread first, so nothing is lost, and only the empty shell goes. Refused when a record on it has no contact to move to. It cannot be undone; merge_conversations keeps the content in one thread instead. Pass the same idempotency_key when retrying; a repeat returns the first result.

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>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "delete_conversation"
  }
}

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=true, so the bar is lower, yet the description adds real substance: child emails/texts/calls are reparented to each contact's own thread first so nothing is lost, only the empty shell is removed, and the action is irreversible. It also discloses the retry contract for idempotency_key ('a repeat returns the first result'), which annotations alone do not convey.

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?

Front-loads the core action and the seat/refusal constraints, and every clause carries information. However, the first sentence is long with nested parentheses, and the idempotency sentence repeats what the schema already says.

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, idempotent mutation with no output schema, the description covers side effects, refusal modes, irreversibility, and retry behavior. It hints at a result ('a repeat returns the first result') but never characterizes the normal success response, which is the main remaining gap.

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 coverage is 50%: idempotency_key is already documented in the schema, and the description mostly restates that contract, while conversation_id receives no semantic elaboration beyond 'a conversation'. With a UUID-format parameter this is defensible but adds only marginal meaning over the schema.

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 plus resource ('deletes a conversation') and constrains it to the empty-or-duplicate case, anchoring it to the UI's thread-menu Delete. It explicitly names the sibling it is not (merge_conversations), so an agent can distinguish the two 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 explicit when-to-use (empty/duplicate threads), when-not-to (merge_conversations keeps the content in one thread instead), prerequisites (admin or owner seat; member seat refused), and refusal conditions (a record with no contact to move to). Little is left 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