Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by ChinmayNakwa

Manage Contacts Batch

manage_contacts_batch
Destructive

Batch create, update, or delete Google Contacts in one call, with updates limited to one field per batch to prevent overwriting unrelated data.

Instructions

Batch create, update, or delete contacts. Consolidated tool replacing batch_create_contacts, batch_update_contacts, and batch_delete_contacts.

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_contacts_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldNoFor "update" action, the single People API field to update across all contacts in this batch. Required. Must be one of: names, phoneNumbers, emailAddresses, organizations, nicknames, urls, userDefined, relations, biographies, addresses, birthdays. Using a single field per batch call prevents unintentional data loss from a union updateMask overwriting unrelated fields.
actionYesThe action to perform: "create", "update", or "delete".
updatesNoList of update dicts for "update" action. Each dict must contain contact_id and may contain the same fields as contacts.
contactsNoList of contact dicts for "create" action. Each dict may contain: given_name, family_name, phones, emails, organizations, nicknames, urls, user_defined, relations, notes, address, birthday. Deprecated: phone, email, organization, job_title.
contact_idsNoList of contact IDs for "delete" action.
user_google_emailYesThe user's Google email address. Required.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered externally. The description adds nothing behavioral beyond that: no statement that delete is permanent, no disclosure of partial-failure/atomicity semantics for a batch, no rate-limit or quota context. The only added information is the deprecation note about predecessor tool names.

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, front-loaded with the verb/resource and followed by the consolidation note. No filler. It is efficiently written, though the brevity is partly under-specification rather than pure economy.

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?

With 6 parameters, three mutually exclusive payload arrays, and a destructive write surface, an agent still needs the description to clarify action-to-payload mapping and delete irreversibility. An output schema exists so return values needn't be explained, and annotations cover the read/write profile, which keeps this from being lower. Adequate but with clear gaps for a destructive batch tool.

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%, including a detailed rationale on the required `field` parameter (single field per batch to avoid union updateMask data loss), so the schema carries the parameter burden. The description itself says nothing about which parameter belongs to which action, so it neither compensates nor detracts. 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?

Uses a specific verb set (create/update/delete) on a specific resource (contacts) with the 'batch' scope qualifier, which separates it from sibling single-record tools like manage_contact, get_contact, and search_contacts. The mention of the three tools it replaces reinforces the batch identity. It stops short of naming a live sibling as the alternative route, so it lands at 4 rather than 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 three supported actions are enumerated, so the agent can infer that this is for doing one of those operations across many contacts. But there is no explicit when-to-use versus manage_contact (single contact) or list_contacts/search_contacts, and no note that exactly one of contacts/updates/contact_ids is required per action beyond what the schema implies.

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