Skip to main content
Glama

Delete contact

delete_contact
Destructive

Delete a contact and its segment memberships; its emails stay in the log. Pass erase=true to also scrub the address from email history, event payloads and API logs (GDPR/LGPD). This cannot be undone.

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": {
      "id": "<id>"
    },
    "name": "delete_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesContact id or email address
eraseNoAlso erase the address from email history

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 flag destructiveHint=true, but the description goes well beyond them: it discloses the default retention behavior (emails stay in the log), the expanded blast radius of erase=true (email history, event payloads, API logs), the compliance motivation, and irreversibility. This is exactly the extra context a mutating tool needs.

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?

Two sentences, no filler. The default behavior is front-loaded, the optional destructive escalation follows, and the irreversibility warning closes it out. Every clause carries information.

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 two-parameter destructive tool with no output schema, the description covers side effects, the conditional behavior switch, compliance rationale, and reversibility. Nothing an agent needs in order to invoke this correctly is missing.

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 baseline is 3, but the description adds real meaning to erase by enumerating the three stores it scrubs (email history, event payloads, API logs) versus the schema's narrower 'Also erase the address from email history'. The id parameter needs no further elaboration given its schema description.

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 ('Delete a contact') plus the exact side effects on related data ('its segment memberships; its emails stay in the log'). An agent can distinguish this from the sibling delete_contacts / delete_contact_property purely from the text.

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?

The description makes the usage context obvious (single-contact deletion) and explains when to reach for erase=true (GDPR/LGPD scrubbing). However, it never names an alternative tool or states when not to use this one, e.g. bulk deletion via delete_contacts, so the routing guidance is only implied.

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.