Skip to main content
Glama
iCloud MCP Server Apple

iCloud MCP Server Apple

Delete Contact

delete-contact
DestructiveIdempotent

Permanently remove a contact from the address book using its contactUrl handle from list or search results. Use to delete a contact; this action has no undo through the server.

Instructions

Permanently deletes a contact from the user's address book. Takes the handle returned by list-contacts or search-contacts; there is no undo through this server.

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": {
      "contactUrl": "<contactUrl>"
    },
    "name": "delete-contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
contactUrlYesURL or ID of the contact to delete (from list-contacts output)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.1.1
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / contactUrl / description
      Previous value: -"URL of the contact to delete (from list-contacts output)"New value: +"URL or ID of the contact to delete (from list-contacts output)"
  2. First observedv2.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds meaningful context beyond that: the deletion is permanent and there is no recovery path through this server, which is exactly the kind of consequence an agent needs before calling a destructive tool. It does not mention permissions or scope of collateral effects (e.g., group membership).

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 short sentences, front-loaded with the destructive action and followed by the input source plus the irreversibility warning. No filler or repetition of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive tool with full annotation coverage, the description supplies the essential missing piece (permanence, no undo) and the parameter's origin. Only minor gaps remain, such as required permissions or what else is affected when the contact is removed.

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% and the single parameter already documents that it is a contact URL/ID from list-contacts output, so the schema does the heavy lifting. The description adds only mild provenance detail by naming search-contacts as an additional source, which does not change how the value is formatted or supplied.

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?

Names a specific verb and resource ('Permanently deletes a contact') and scopes it to 'the user's address book', which clearly separates it from list-contacts, search-contacts, and update-contact without opening any 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?

Tells the agent where the required value comes from ('the handle returned by list-contacts or search-contacts') and warns there is no undo, which is practical when-to-use context. It does not state explicit alternatives or when not to use it (e.g., editing via update-contact), so it stops short of full routing guidance.

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