Skip to main content
Glama

contacts_update

DestructiveIdempotent

Update specified name, email, or phone fields for a macOS contact by native ID, replacing email or phone collections when supplied.

Instructions

Update only specified contact name, email or phone fields. Email/phone replaces that collection. [v1.0.0; permissions: contacts]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesStable native object ID
emailNoEmail
phoneNoPhone
givenNameNoGiven name
familyNameNoFamily name
_approvalIdNoID of the exact action approved by a human in the macOS Agent Bridge extension
_idempotencyKeyYesClient-generated unique key, required for writes; reuse only with identical arguments, including while waiting for approval

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
toolYestool name
errorYes
statusYes
versionYessemantic version

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/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 openWorldHint=true, so the bar is lower, but the description adds non-trivial context: email/phone fully replaces that collection rather than appending, and the '[permissions: contacts]' tag discloses the authorization scope. It stops short of describing the human-approval gate implied by the _approvalId parameter and destructiveHint.

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?

Two short sentences plus a metadata tag, front-loaded with the update scope and then the field-replacement rule. No filler; the only marginal element is the version/permission tag, which still carries operational value.

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?

An output schema exists, so return values need no explanation, and the description covers the partial-update contract, replacement semantics and permission scope. The main omission is the approval/idempotency workflow, which is left entirely to the schema's parameter descriptions.

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%, so the schema already documents all seven parameters, making 3 the baseline. The description reinforces which fields are updatable (name, email, phone) and clarifies replacement semantics for two of them, but adds no syntax or validation detail beyond the schema.

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?

States a specific verb (update) and resource (contact), and scopes it to 'only specified ... fields', which distinguishes a partial patch from a full replace. It never names a sibling such as contacts_create or contacts_search, so the differentiation comes from the name rather than the text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use, when-not-to-use, or alternative routing guidance. The phrase 'only specified' implies partial-update behavior, but an agent gets no signal about when this beats contacts_create or what prerequisites (existing contact id, approval) apply.

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