Skip to main content
Glama

Delete contact

delete_contact
DestructiveIdempotent

Permanently delete a contact nothing uses. One still linked to a job is a 409 — archive it instead. Managers and admins only; confirm with the user first.

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/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 adds what the annotations cannot: deletion is irreversible, failure surfaces as a 409 when the contact is job-linked, and the caller must be a manager/admin. It also imposes a human-confirmation obligation that materially changes invocation behavior.

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 short sentences, front-loaded with the destructive nature and each carrying a distinct fact (permanence, 409 escape hatch, authorization plus confirmation). Slightly telegraphic phrasing ('a contact nothing uses', 'archive it instead') leaves the sibling reference implicit rather than naming the tool.

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 one-parameter destructive mutation with no output schema, the description covers everything an agent needs: irreversibility, the failure mode and its remedy, authorization requirements, and the confirmation protocol. No material gap remains.

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?

Single required 'id' parameter with 100% schema description coverage, so the schema already carries the semantics (uuid format and pattern). The description adds no meaning about the id beyond that, so the baseline of 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 and resource ('Permanently delete a contact') plus the precondition that the contact must be unused. The 'permanently' qualifier separates it from the sibling archive_contact, so an agent can tell the two apart without opening a 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?

Explicit when-not: a contact linked to a job returns 409 and should be archived instead, which routes the agent to the archive sibling. Also states the permission gate (managers and admins) and a required confirmation step with the user before invoking.

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