Skip to main content
Glama

delete_contact

DestructiveIdempotent

Permanently remove a contact vCard from the address book using its URL and ETag. Use only when explicit deletion is requested and conflict detection confirms no changes.

Instructions

Permanently delete a contact (vCard) from the address book. WARNING: This action cannot be undone — the contact is removed from the server immediately. Use only when the user explicitly requests deletion. Obtain the vCard URL and etag from list_contacts or addressbook_query first. The etag ensures no conflicting changes occurred since the contact was last retrieved. If the listing shows an etag_note instead of an etag, this contact cannot be deleted with this tool: tell the user what the note says.

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

Input Schema

NameRequiredDescriptionDefault
vcard_urlYesFull URL of the vCard to delete. Obtain from list_contacts or addressbook_query response.
vcard_etagYesETag of the vCard for conflict detection. Obtain from the same response as the vCard URL. Ensures no changes were made since retrieval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=true and openWorldHint=true, so the safety profile is partly carried for free. The description still adds non-structured behavior: the deletion is immediate and irreversible on the server, the etag acts as a concurrency guard, and the etag_note case blocks deletion entirely. Only the retry/not-found semantics behind idempotentHint remain unstated.

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?

Four sentences, front-loaded with the action and the WARNING before the operational prerequisites. Every sentence carries distinct information (irreversibility, usage gate, parameter provenance, etag_note fallback) with no filler.

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 supplies everything an agent needs: how to source the arguments, why the etag matters, the failure mode to surface to the user, and the replaceability of the listing siblings. 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 description coverage is 100%, and both schema fields already say to obtain the URL and the ETag from list_contacts or addressbook_query and that the ETag detects concurrent changes. The description restates that provenance rather than adding new meaning, so the 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 and resource ('Permanently delete a contact (vCard) from the address book'), plus the permanence qualifier, which immediately separates it from delete_calendar, delete_event, delete_todo and the update_contact siblings. An agent knows exactly what object class this acts on 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 Guidelines5/5

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

Gives an explicit usage gate ('Use only when the user explicitly requests deletion') and names the alternatives that supply preconditions (list_contacts or addressbook_query). It also covers the when-not case: if the listing shows etag_note instead of an etag, this tool must not be used and the user must be told why.

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