Skip to main content
Glama

Update contact

contacts_update
Destructive

Updates an existing iCloud contact using its ID and last-read etag; stale writes are rejected and omitted fields remain unchanged.

Instructions

Changes a contact. Needs the etag from the last read; a changed contact is refused. Fields you omit, and everything else on the card, are kept.

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>",
      "etag": "<etag>"
    },
    "name": "contacts_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesOpaque contact id.
etagYesThe `etag` from the last read. A different one means the contact changed.
emailsNoThe full list of email addresses the contact should have. Omit to keep them.
phonesNoThe full list of phone numbers the contact should have. Omit to keep them.
full_nameNoNew full name. Omit to keep it.

Output Schema

NameRequiredDescriptionDefault
idYes
etagYesThe new `etag`, when the write returned one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=true, openWorldHint=true), so the description is not carrying the full burden—yet it adds substantive behavior: optimistic concurrency via a required etag, a refusal path when the contact has changed, and patch semantics where omitted fields and other card data are preserved. What is missing is any mention of required permissions or what exactly becomes destructive despite the merge behavior.

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 short sentences, front-loaded with the action, then the precondition, then the merge semantics. No filler, no repetition, and each sentence carries a distinct constraint the agent needs.

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 five-parameter mutation with an output schema and full schema coverage, this covers the two things the structured data cannot: the etag precondition and the refusal behavior, plus the partial-update guarantee. It falls short only on routing to siblings and on permission/error-recovery guidance.

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%, including per-field notes that omitting a field keeps it, so the baseline is 3. The description reinforces the etag semantics (a changed contact is refused) and the omit-to-keep rule, but adds no format or constraint detail—such as whether the emails/phones lists replace wholesale or merge—beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Changes a contact" gives a clear verb (modify an existing record) plus the resource, and the etag requirement signals in-place update rather than creation. It does not explicitly differentiate itself from contacts_create/contacts_delete/contacts_set_group_membership, but the verb plus partial-update framing is enough for an agent to tell it is an update of an existing contact.

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 states a hard precondition (you must have the etag from the last read) and the failure mode when the contact changed underneath you, which is real usage guidance. It never says when to reach for this versus contacts_create, contacts_delete, or contacts_set_group_membership, and it gives no guidance on re-read-then-retry after a refused update, so usage is only implied.

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