Skip to main content
Glama

Remove Contact

remove_contact
DestructiveIdempotent

Archive a contact as inactive or permanently delete it, prompting for archive/delete/cancel resolution first; archived contacts stay recoverable with interaction history preserved.

Instructions

Remove a contact by archiving (marks as inactive, recoverable) or permanently deleting. On first call, returns a conflict with ARCHIVE / DELETE / CANCEL options. Pass mode after the user decides. Interaction history referencing this contact is preserved on archive.

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": {
      "contact_id": "<contact_id>"
    },
    "name": "remove_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDeprecated: use `resolution`. 'archive' / 'delete' / 'cancel'.
contact_idYesContact UUID to remove.
resolutionNoResolution after the removal conflict: 'confirm' deletes (recoverable for 30 days), 'archive' hides it (recoverable), 'cancel' aborts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4.1/5.0
Behavior4/5

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

Adds substantial context beyond destructiveHint=true and idempotentHint=true: the confirmation/conflict protocol, recoverability of archive, and preservation of interaction history. The one blemish is calling delete "permanently deleting" when the schema says deletions are recoverable for 30 days, which understates the safety window.

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?

Three tight sentences: behavior, protocol, and consequence are front-loaded with no filler. The only cost is that the compact option list is what introduces the naming mismatch with the schema enum.

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?

With no output schema, the description correctly takes on the burden of describing the return shape (a conflict carrying ARCHIVE / DELETE / CANCEL options) and the side effects on related interaction records. That is the essential information an agent needs before invoking a destructive, two-phase tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description actively misroutes the agent: it says "Pass mode after the user decides" although `mode` is marked Deprecated in the schema in favor of `resolution`. It also presents the options as ARCHIVE / DELETE / CANCEL, whereas the live enum is confirm / archive / cancel, so an agent following the prose could pass an invalid combination.

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 ("Remove a contact") and immediately disambiguates the two removal semantics (archiving = inactive/recoverable vs. permanent delete). An agent can distinguish it from add_contact, update_contact, and from generic removers like remove_customer without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explains the two-step interaction model clearly: first call surfaces a conflict, the agent must get the user's decision, then re-invoke with the chosen option. It does not mention adjacent siblings for undoing/restoring (restore_item, list_deleted, purge_item), which would complete the guidance.

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

Deploy Server

Other Tools