Skip to main content
Glama

update_contact

DestructiveIdempotent

Update contact fields such as name, email, phone, organization, title, address, birthday, notes, and custom vCard properties using plain values instead of vCard formatting.

Instructions

PREFERRED: Update contact fields without vCard formatting. Supports: FN (full name), N (structured name), EMAIL, TEL (phone), ORG (organization), TITLE (job title), NOTE, URL, ADR (address), BDAY (birthday), and any RFC 6350 vCard property including custom X-* properties.

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": "update_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoFields to update, keyed by bare UPPERCASE property name (e.g., FN, EMAIL, TEL). Any RFC 6350 vCard property or custom X-* property is supported. Property parameters such as "TEL;TYPE=CELL" are not accepted here, and values must not contain line breaks.
vcard_urlYesThe URL of the vCard to update
vcard_etagYesThe etag of the vCard (required for conflict detection)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A3.8/5.0
Behavior3/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 safety profile is covered. The description adds genuine capability scope (any RFC 6350 property, including custom X-*) that annotations cannot express, but it never says whether fields omitted from the payload are preserved or wiped — a material question for a destructive update — nor what happens on an etag mismatch.

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 sentences, correctly front-loaded with the selection signal before the capability list. The enumerated field list mildly duplicates the schema's property descriptions, but it makes the supported-property scope scannable, so it largely earns its space.

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

Completeness3/5

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

For a destructive, idempotent mutation with nested parameters this covers the shape of input well, but there is no output schema and the description says nothing about the response shape or the etag conflict-detection outcome. Conflict handling is only hinted at by the schema's 'required for conflict detection' wording.

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%: the nested 'fields' object already documents every named property, the bare-UPPERCASE key convention, the ban on 'TEL;TYPE=CELL'-style parameters, and the no-line-breaks rule. The description's field list largely restates the schema, 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 (update contact fields) and immediately distinguishes itself from the raw sibling with 'without vCard formatting' plus an explicit 'PREFERRED' marker. An agent can choose between update_contact and update_contact_raw from the description alone.

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?

'PREFERRED' gives a clear default-selection signal and 'without vCard formatting' implies the raw variant is for formatted/property-parameter work. It stops short of an explicit when-not rule (e.g., 'use update_contact_raw when you need TEL;TYPE=CELL'), leaving that inference to the agent.

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