Skip to main content
Glama

People Update Contact

people_update_contact
Idempotent

Updates selected fields of an existing Google contact, replacing only the values you pass; fetch the current etag first to prevent stale-write errors.

Instructions

Change fields of an existing Google contact. Only the fields passed are written and each replaces the stored value: list fields replace the whole list, and a name part left out keeps its stored value. Get the current etag first with people_get_contact. Returns status 'ok' and contact, the contact as stored now: resource_name, its new etag (needed for a further update), name, given_name, family_name, emails, phones, organizations and biography.

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": {
      "person_name": "<person_name>"
    },
    "name": "people_update_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
etagNoThe contact's current etag, from people_get_contact or people_search_contacts. Google requires it to check that the contact has not changed since it was read, and rejects a stale one.
sourcesNoWhich data each returned person carries: READ_SOURCE_TYPE_CONTACT (the saved contact, the default when omitted), READ_SOURCE_TYPE_PROFILE (the person's Google profile, merged in) and READ_SOURCE_TYPE_DOMAIN_CONTACT (the organization's shared domain contacts).
biographyNoReplacement notes; replaces the stored notes.
given_nameNoNew given (first) name; the stored family and middle names are kept unless passed.
family_nameNoNew family (last) name; the stored given and middle names are kept unless passed.
person_nameYesContact resource name, e.g. 'people/c123', from people_search_contacts; a bare ID is prefixed automatically.
display_nameNoSent as the name's displayName, which the People API documents as output-only (Google formats it from the structured name), so it is not expected to be stored; set given_name and family_name instead.
organizationNoReplacement company name; replaces the stored organization entry, job title included.
phone_numbersNoReplacement phone numbers: replace every stored number, and [] removes them all.
email_addressesNoReplacement email addresses: replace every stored address, and [] removes them all; each must be valid.

Output Schema

NameRequiredDescriptionDefault
statusNoMachine-readable operation status.
contactNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is supplied. The description still adds genuinely non-obvious behavior: partial writes, list fields replacing the entire list, omitted name parts preserving stored values, and stale etags being rejected. It does not cover permission requirements or failure modes, keeping it at a solid 3 rather than higher.

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?

Front-loaded with the action and the merge semantics before the return shape, with no filler sentences. The final sentence enumerates return fields even though an output schema exists, which is partly redundant, though the 'new etag needed for a further update' note earns its place.

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?

With 10 parameters, full schema coverage, annotations and an output schema, the description covers the remaining gaps an agent would hit: merge versus replace semantics, the etag prerequisite, and the fact that display_name is not expected to be stored. Nothing needed to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a baseline of 3 applies, but the description adds a cross-cutting rule the per-parameter schema descriptions only state piecemeal: only passed fields are written, list fields replace the whole list, and omitted name parts retain stored values. That is real semantic value 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 and resource ('Change fields of an existing Google contact') and pins the scope to existing contacts, which implicitly separates it from people_create_contact and people_delete_contact. It does not explicitly name a sibling as the wrong tool, so it falls just short of a 5.

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?

Gives a concrete precondition — fetch the current etag with people_get_contact before updating — which is exactly the routing information an agent needs to sequence calls correctly. It stops short of explicit when-not-to-use guidance (e.g., use create instead when the contact does not exist).

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

Deploy Server

Other Tools