Skip to main content
Glama

Delete or anonymize a prospect

delete_prospect
DestructiveIdempotent

Remove a prospect. mode=delete (default) deletes the record with its enrollments and events, like Delete on the prospect list. mode=anonymize is the GDPR erasure: personal data is wiped, the address goes on the suppression list so it is never emailed again, active enrollments stop, and the action is audited. Irreversible either way.

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_prospect"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProspect id (uuid).
modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description goes further and itemizes exactly what is destroyed in each mode: the record plus enrollments and events, or wiped personal data, a suppression-list entry, stopped active enrollments, and an audit record. It closes with 'Irreversible either way', so the cost of the call is unambiguous.

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 sentences, front-loaded with the action, then the mode contract, then the irreversibility warning. Every clause carries distinct information; nothing is repeated from the schema or annotations.

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 mutation with no output schema, the description covers effects, irreversibility, side effects (suppression listing, audit trail), and mode selection. There is no gap an agent would need to guess at before invoking it.

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

Parameters5/5

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

Schema coverage is only 50% and the mode enum carries no per-value description, but the description fully compensates by explaining both enum values, including the default and the concrete effects of anonymize. `id` is typed and documented in the schema, so nothing material is missing.

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 prospect') and immediately disambiguates the two operating modes. An agent can distinguish it from create_prospect/get_prospect/update_prospect and from the delete_* siblings on other resources 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?

Explicitly names the default (mode=delete) and characterizes the alternative as 'the GDPR erasure', which tells the agent when to pick each. It stops short of stating when deletion is inappropriate (e.g., what to do instead if the goal is only to stop mailing), so it is clear context rather than full when/when-not routing.

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.