Skip to main content
Glama

Delete a contact

delete_contact
Destructive

Permanently delete a contact along with its tasks and the notes members wrote. System-generated history (calls, emails, receipts) is kept as the record but unlinked from any contact timeline. The result reports historyKept: system history kept unlinked. Deals are kept, so revenue history survives. This permanently deletes data and cannot be undone. Without confirm, nothing is deleted and the result shows what would be removed.

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": "delete_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNotrue performs the deletion. Without it nothing is deleted, and the result is a summary of exactly what would be destroyed.
contact_idYesThe contact id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true to actually perform this. Call once WITHOUT it to receive a summary of exactly what will be destroyed, show that summary to the user, and only then call again with true."New value: +"true performs the deletion. Without it nothing is deleted, and the result is a summary of exactly what would be destroyed."
  2. First observed

TDQS

A4.4/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 far beyond by enumerating exactly what is destroyed (tasks, notes), what is retained (system history like calls/emails/receipts, unlinked but kept; deals kept so revenue history survives), and that the operation is irreversible. It also names the returned field historyKept, which the agent cannot learn from the schema.

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-loaded with the action and cascade, then retention, then irreversibility, then the confirm gate — good ordering. Minor redundancy in restating 'permanently' twice ('Permanently delete' and 'This permanently deletes data and cannot be undone'), which costs a bit of tightness.

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 destructive mutation with no output schema, the definition covers everything an agent needs: cascade scope, retention policy, irreversibility, the confirm precondition, and a named result field. Nothing material is left to inference.

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 100%, so confirm and contact_id are already documented, and the description's confirm explanation largely mirrors the schema wording. It adds the framing that the no-confirm result is 'exactly what would be destroyed' but supplies no new syntax or format detail. Baseline 3 applies.

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 (permanently delete) and resource (contact) plus the cascade scope: attached tasks and member notes go with it. An agent can distinguish this from delete_deal or delete_task from the first clause alone.

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?

The two-step pattern is spelled out: without confirm nothing is deleted and the result is a preview of what would be destroyed, so the agent knows to dry-run first. It stops short of naming a sibling as the alternative path (e.g., update_contact or delete_deal for adjacent resources), so it stops at 4.

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