Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by akilja24

modify_contact_group_members

Update a Google contact group by adding or removing specified contact IDs for a user.

Instructions

Add or remove contacts from a contact group.

Args: user_google_email (str): The user's Google email address. Required. group_id (str): The contact group ID. add_contact_ids (Optional[List[str]]): Contact IDs to add to the group. remove_contact_ids (Optional[List[str]]): Contact IDs to remove from the group.

Returns: str: Confirmation with results.

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>",
      "group_id": "<group_id>"
    },
    "name": "modify_contact_group_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes
add_contact_idsNo
user_google_emailYes
remove_contact_idsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.13.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It only states that a confirmation string is returned; it does not say whether removal deletes the contact or merely its group membership, whether the call is idempotent, what permissions are needed, or what happens if an ID is unknown. For an unannotated mutation tool this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is front-loaded and clear, but the Python-docstring Args block largely restates the schema property names and types, and the Returns line is redundant given an output schema exists. It is readable but contains filler relative to what it adds.

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?

The core intent and parameter roster are covered, and the output schema means return values need no expansion. Missing are the practical essentials for a mutation tool with no annotations: mutual exclusivity rules for the two ID lists, idempotency, and failure behavior.

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 0%, so the description does useful work by explaining each of the four parameters, including that the ID lists are optional. However, it adds no format or constraint detail beyond the schema types (e.g., expected group_id format, whether empty lists are meaningful), so it only partially compensates.

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 first sentence names a specific verb pair (add/remove) and a specific resource (contacts in a contact group), which clearly separates it from siblings like create_contact_group or delete_contact. It doesn't explicitly name an alternative, keeping it out of 5 territory.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No when-to-use guidance, no mention of when to prefer this over update_contact or batch_update_contacts, and no rule stated about whether add_contact_ids and remove_contact_ids can be supplied together or whether at least one is required. The agent must infer the operating conditions.

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