Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by mutallipp

Manage Contact

manage_contact
Destructive

Create, update, or delete Google Contacts and set or remove contact photos; photo actions change only the photo, not other fields.

Instructions

Create, update, or delete a contact, or set/remove its photo. Photo actions modify only the photo, not the contact's other fields.

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": {
      "user_google_email": "<user_google_email>",
      "action": "<action>"
    },
    "name": "manage_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsNoList of URL dicts {value, type?}. Supported types: homepage, blog, profile, work, ftp, reservations, other, etc.
emailNo[DEPRECATED] Email address. Use emails=[{"address":..., "type":"other"}].
notesNoAdditional notes (for create/update).
phoneNo[DEPRECATED] Single phone number. Use phones=[{"number":..., "type":"mobile"}].
actionYesThe action to perform: "create", "update", "delete", "set_photo", or "delete_photo".
emailsNoList of email dicts {address, type?}.
phonesNoList of phone dicts {number, type?}. Supported types: mobile, work, home, main, workMobile, internal, other, etc. Use type="internal" for internal PBX/ATS short numbers (e.g. 250, 301) — stored as a standalone number without + prefix, displayed as "Internal: 250".
addressNoStreet address, replacing any existing addresses. "" clears them (for create/update).
birthdayNoBirthday as 'YYYY-MM-DD', 'MM-DD' (no year), or 'clear'/'' to remove.
file_pathNoServer-side JPEG or PNG path for "set_photo", instead of photo_base64. Must be under ALLOWED_FILE_DIRS. Maximum 5 MiB.
job_titleNo[DEPRECATED] Job title. Use organizations=[{"title":...}].
nicknamesNoList of nickname dicts {value, type?}. Useful for bilingual contacts (e.g. Hebrew/English alternative forms). Android dialer and WhatsApp search both index nicknames, enabling cross-script lookup. Supported types: default, alternate_name, maiden_name, initials, other, etc.
relationsNoList of relation dicts {person, type?}. Supported types: spouse, child, parent, friend, manager, assistant, etc.
urls_modeNoHow to update urls on "update": "merge" (default), "replace", or "remove". merge and remove match URLs case-insensitively on scheme and host only, ignoring a trailing slash.merge
contact_idNoThe contact ID. Required for all actions except "create".
given_nameNoFirst name (for create/update).
emails_modeNoHow to update emails on "update": "merge" (default), "replace", or "remove".merge
family_nameNoLast name (for create/update).
phones_modeNoHow to update phones on "update": "merge" (default), "replace", or "remove". merge = read-modify-write with dedup by canonicalForm/normalized value. replace = overwrite all phones with provided list. remove = delete phones matching provided numbers.merge
organizationNo[DEPRECATED] Company name. Use organizations=[{"name":...}].
photo_base64NoRaw Base64 JPEG or PNG bytes for "set_photo", without a data URL prefix. Maximum 5 MiB decoded.
user_definedNoList of custom field dicts {key, value}. Useful for structured data like account numbers, IDs, or custom dates.
organizationsNoList of org dicts {name?, title?, department?, jobDescription?, type?}.
nicknames_modeNoHow to update nicknames on "update": "merge" (default), "replace", or "remove".merge
relations_modeNoHow to update relations on "update": "merge" (default), "replace", or "remove".merge
user_defined_modeNoHow to update custom fields on "update": "merge" (default), "replace", or "remove". merge overrides value on matching key; new keys appended.merge
user_google_emailYesThe user's Google email address. Required.
organizations_modeNoHow to update orgs on "update": "merge" (default), "replace", or "remove".merge

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.8.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already state this is destructive, open-world, non-idempotent, and not read-only. The description adds one useful behavioral fact—photo actions are scoped to the photo—but it does not explain delete permanence, update merge behavior, or other side effects. With annotations carrying the safety profile, a 3 is appropriate.

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?

The definition uses two tight sentences with no filler, and the purpose is front-loaded before the photo caveat. The second sentence earns its place by preventing a mistaken assumption that photo actions alter other contact fields.

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 28-parameter, destructive, multi-action tool, the description is thin: it omits action-specific requirements and the permanence or side effects of delete. The rich schema and output schema compensate substantially, but not enough for a higher score.

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 parameter meanings are fully documented in the schema. The description adds no parameter-level detail beyond the action names and photo scope, so the baseline 3 applies.

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?

The description names the resource (contact) and the concrete verbs (create, update, delete, set/remove photo), and clarifies that photo actions are separate. It does not explicitly distinguish this single-contact tool from siblings such as manage_contacts_batch or get_contact, so it falls 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 Guidelines3/5

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

The photo caveat gives implied guidance: use set_photo/delete_photo when only the photo should change rather than update. It gives no explicit when/when-not guidance for create vs update vs delete, and it does not name alternatives like manage_contacts_batch or get_contact.

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