Skip to main content
Glama
Google Workspace MCP Server - Control Gmail, Calendar, Docs, Sheets, Slides, Chat, Forms & Drive

Google Workspace MCP Server - Control Gmail, Calendar, Docs, Sheets, Slides, Chat, Forms & Drive

Manage Contact

manage_contact
Destructive

Manage Google Contacts by creating, updating, or deleting entries with typed emails, phones, addresses, organizations, relations, and custom fields; supports merge, replace, or remove updates.

Instructions

Create, update, or delete a contact. Consolidated tool replacing create_contact, update_contact, and delete_contact.

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", or "delete".
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.
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 "update" and "delete" actions.
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":...}].
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. Changed1 schema field changedv2.4.2
    • changedInput schema / properties / urls_mode / description
      Previous value: -"How to update urls on \"update\": \"merge\" (default), \"replace\", or \"remove\".\nmerge dedups by normalized URL (lowercased, trailing slash stripped)."New value: +"How to update urls on \"update\": \"merge\" (default), \"replace\", or \"remove\".\nmerge and remove match URLs case-insensitively on scheme and host only, ignoring a trailing slash."
  2. Changed1 schema field changedv2.2.0
    • changedInput schema / properties / address / description
      Previous value: -"Street address (for create/update)."New value: +"Street address, replacing any existing addresses. \"\" clears them (for create/update)."
  3. Changed41 schema fields changedv1.28.0
    • removedInput schema / properties / address / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / address / type
      Added value: +"string"
    • removedInput schema / properties / birthday / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / birthday / type
      Added value: +"string"
    • removedInput schema / properties / contact_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / contact_id / type
      Added value: +"string"
    • removedInput schema / properties / email / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / email / type
      Added value: +"string"
    • removedInput schema / properties / emails / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "Typed input for an email entry.",
      -      "properties": {
      -        "address": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Email address value."
      -        },
      -        "type": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Email type such as work, home, or other."
      -        },
      -        "value": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Backward-compatible alias for the email address value."
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / emails / items
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Typed input for an email entry.",
      +  "properties": {
      +    "address": {
      +      "default": null,
      +      "description": "Email address value.",
      +      "type": "string"
      +    },
      +    "type": {
      +      "default": null,
      +      "description": "Email type such as work, home, or other.",
      +      "type": "string"
      +    },
      +    "value": {
      +      "default": null,
      +      "description": "Backward-compatible alias for the email address value.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / emails / type
      Added value: +"array"
    • removedInput schema / properties / family_name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / family_name / type
      Added value: +"string"
    • removedInput schema / properties / given_name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / given_name / type
      Added value: +"string"
    • removedInput schema / properties / job_title / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / job_title / type
      Added value: +"string"
    • removedInput schema / properties / nicknames / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "Typed input for a nickname entry.",
      -      "properties": {
      -        "type": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Nickname type such as default, alternate_name, maiden_name, initials, or other."
      -        },
      -        "value": {
      -          "description": "Nickname value. Used for bilingual contacts (e.g. Hebrew alternative form).",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "value"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / nicknames / items
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Typed input for a nickname entry.",
      +  "properties": {
      +    "type": {
      +      "default": null,
      +      "description": "Nickname type such as default, alternate_name, maiden_name, initials, or other.",
      +      "type": "string"
      +    },
      +    "value": {
      +      "description": "Nickname value. Used for bilingual contacts (e.g. Hebrew alternative form).",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "value"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / nicknames / type
      Added value: +"array"
    • removedInput schema / properties / notes / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / notes / type
      Added value: +"string"
    • removedInput schema / properties / organization / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / organization / type
      Added value: +"string"
    • removedInput schema / properties / organizations / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "Typed input for an organization entry.",
      -      "properties": {
      -        "department": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Department name."
      -        },
      -        "jobDescription": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Optional organization job description."
      -        },
      -        "name": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Organization name."
      -        },
      -        "title": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Job title."
      -        },
      -        "type": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Organization type such as work or school."
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / organizations / items
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Typed input for an organization entry.",
      +  "properties": {
      +    "department": {
      +      "default": null,
      +      "description": "Department name.",
      +      "type": "string"
      +    },
      +    "jobDescription": {
      +      "default": null,
      +      "description": "Optional organization job description.",
      +      "type": "string"
      +    },
      +    "name": {
      +      "default": null,
      +      "description": "Organization name.",
      +      "type": "string"
      +    },
      +    "title": {
      +      "default": null,
      +      "description": "Job title.",
      +      "type": "string"
      +    },
      +    "type": {
      +      "default": null,
      +      "description": "Organization type such as work or school.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / organizations / type
      Added value: +"array"
    • removedInput schema / properties / phone / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / phone / type
      Added value: +"string"
    • removedInput schema / properties / phones / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "Typed input for a phone entry.",
      -      "properties": {
      -        "number": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Phone number value."
      -        },
      -        "type": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Phone type such as mobile, work, home, or internal."
      -        },
      -        "value": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Backward-compatible alias for the phone number value."
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / phones / items
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Typed input for a phone entry.",
      +  "properties": {
      +    "number": {
      +      "default": null,
      +      "description": "Phone number value.",
      +      "type": "string"
      +    },
      +    "type": {
      +      "default": null,
      +      "description": "Phone type such as mobile, work, home, or internal.",
      +      "type": "string"
      +    },
      +    "value": {
      +      "default": null,
      +      "description": "Backward-compatible alias for the phone number value.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / phones / type
      Added value: +"array"
    • removedInput schema / properties / relations / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "Typed input for a relation entry (spouse, parent, child, etc.).",
      -      "properties": {
      -        "person": {
      -          "description": "The related person's name (matched against contact names by Google Assistant).",
      -          "type": "string"
      -        },
      -        "type": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Relation type: spouse, child, parent, father, mother, sister, brother, friend, manager, assistant, partner, sibling, domesticPartner, or custom."
      -        }
      -      },
      -      "required": [
      -        "person"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / relations / items
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Typed input for a relation entry (spouse, parent, child, etc.).",
      +  "properties": {
      +    "person": {
      +      "description": "The related person's name (matched against contact names by Google Assistant).",
      +      "type": "string"
      +    },
      +    "type": {
      +      "default": null,
      +      "description": "Relation type: spouse, child, parent, father, mother, sister, brother, friend, manager, assistant, partner, sibling, domesticPartner, or custom.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "person"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / relations / type
      Added value: +"array"
    • removedInput schema / properties / urls / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "Typed input for a URL entry.",
      -      "properties": {
      -        "type": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "URL type such as homepage, blog, profile, work, ftp, reservations, or other. Custom values allowed."
      -        },
      -        "value": {
      -          "description": "The URL value (e.g. https://example.com).",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "value"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / urls / items
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Typed input for a URL entry.",
      +  "properties": {
      +    "type": {
      +      "default": null,
      +      "description": "URL type such as homepage, blog, profile, work, ftp, reservations, or other. Custom values allowed.",
      +      "type": "string"
      +    },
      +    "value": {
      +      "description": "The URL value (e.g. https://example.com).",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "value"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / urls / type
      Added value: +"array"
    • removedInput schema / properties / user_defined / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "Typed input for a userDefined custom field entry.",
      -      "properties": {
      -        "key": {
      -          "description": "Custom field key (e.g. 'ID', 'Hebrew Birthday', 'Account Number').",
      -          "type": "string"
      -        },
      -        "value": {
      -          "default": "",
      -          "description": "Custom field value. May be omitted when using remove mode (only the key is needed).",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "key"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / user_defined / items
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Typed input for a userDefined custom field entry.",
      +  "properties": {
      +    "key": {
      +      "description": "Custom field key (e.g. 'ID', 'Hebrew Birthday', 'Account Number').",
      +      "type": "string"
      +    },
      +    "value": {
      +      "default": "",
      +      "description": "Custom field value. May be omitted when using remove mode (only the key is needed).",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "key"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / user_defined / type
      Added value: +"array"
  4. Addedv1.0.1

TDQS

B3.2/5.0
Behavior2/5

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

The annotations already disclose that this tool is destructive, not read-only, not idempotent, and open-world. The description confirms mutation actions but adds no behavioral context beyond what the annotations and schema already provide, such as deletion permanence or action-specific constraints.

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?

The description is two sentences, front-loaded with the core purpose and free of unnecessary wording. The consolidation note is useful for migration context, though it is not essential to invoking the tool.

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 complex, destructive, multi-action tool with 26 parameters, the description is sparse and omits action-specific requirements such as contact_id being needed for update and delete. The rich schema, output schema, and annotations compensate substantially, making it minimally adequate but not fully self-contained.

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 26 parameters in detail, including action, contact_id, and merge modes. The description adds no parameter semantics beyond the action names and therefore meets the baseline of 3.

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 states a specific verb set and resource: create, update, or delete a contact. It does not explicitly distinguish this tool from siblings such as get_contact or manage_contacts_batch, but the mutation purpose is clear.

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 implies usage through the create/update/delete actions and notes that it replaces the older create_contact, update_contact, and delete_contact tools. However, it gives no explicit guidance on when to use this versus get_contact for reads or manage_contacts_batch for bulk operations.

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