Skip to main content
Glama

Disconnect Google Workspace

disconnect_google_workspace
Destructive

Remove the Google Workspace directory connection used for importing teammates. Team owners and admins only. Two steps: the first call returns CONFIRMATION_REQUIRED with a confirmToken; tell the user what will happen, then call again with the SAME arguments plus confirmToken.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "disconnect_google_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmTokenNoLeave empty on the first call. Then pass the token from the CONFIRMATION_REQUIRED answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, but the description adds the non-obvious two-step confirmation handshake (CONFIRMATION_REQUIRED + confirmToken, resend identical arguments) and the instruction to warn the user before proceeding. What remains unsaid is the blast radius: whether already-imported teammates lose access or are removed when the connection is dropped.

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?

Three short sentences, front-loaded with the action, then the permission gate, then the procedural detail. No filler and nothing repeated from the annotations or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description usefully predicts the CONFIRMATION_REQUIRED response and token flow. For a destructive, open-world mutation it could go further on side effects (effect on existing imported members, whether other integrations break), which is the one gap.

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% for the single confirmToken parameter, so baseline is 3; the description adds value by specifying the sequencing rule (empty on first call, then reuse the exact same arguments plus the token), which is the part agents most often get wrong.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (remove the Google Workspace directory connection) and scopes it to the purpose of importing teammates, which distinguishes it from the generic `disconnect` and from `disconnect_calendar` / `disconnect_conferencing` / `disconnect_sign_in_method` siblings.

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 clear prerequisite ('Team owners and admins only') and an explicit call protocol, so an agent knows who can invoke it and how. It does not name alternatives (e.g. `get_google_workspace_connection` to inspect state first, or the `connect_*` counterpart) or state when this should not be used.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources