Skip to main content
Glama

Disconnect Gmail

colliedesk_gmail_disconnect
Destructive

Disconnect the Gmail account of an email channel: Colliedesk's access is revoked at Google (unless another channel uses the same account) and its replies go out the way they did before Gmail was connected. A reply still waiting to be sent through Gmail fails and can be retried. The revoked access cannot be undone: connect again with colliedesk_gmail_connect. A workspace may have several email channels: give channel_id for one of them, or leave it out for the default one (is_default).

Needs: channels:manage_credentials.

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": "colliedesk_gmail_disconnect"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idNoOne email channel of several, from colliedesk_channels_list. Leave out for the default one (is_default in colliedesk_channels_list).

Output Schema

NameRequiredDescriptionDefault
doneYes
nextYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses key behavior: access is revoked at Google unless another channel uses the same account, replies revert to their previous path, and a pending Gmail reply fails and can be retried. It also warns that revocation cannot be undone and must be reversed through colliedesk_gmail_connect, which is exactly the kind of consequence information an agent needs for a destructive operation.

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 description is front-loaded with the primary effect and then moves through side effects, irreversibility, channel selection, and permission requirements in a compact sequence. Each sentence contributes operational information without bloat.

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

Completeness5/5

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

For a destructive, open-world credential-revocation tool, the description covers the important effects, edge cases, permission requirement, default-channel behavior, and recovery path. Since an output schema exists, no return-value explanation is needed.

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 channel_id parameter is already well documented as coming from colliedesk_channels_list and defaulting to the default channel when omitted. The description repeats that meaning but adds no new syntax, constraints, or selection guidance beyond the schema.

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?

The description states a specific verb and resource: disconnecting the Gmail account of an email channel. It clearly distinguishes this from the reconnect path by naming colliedesk_gmail_connect, so an agent can identify the operation without opening the schema.

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?

The description gives clear context for using the tool, including the channel_id/default-channel choice, the required channels:manage_credentials permission, and the reconnect alternative after revocation. It does not explicitly distinguish this from broader sibling operations such as colliedesk_email_channel_disconnect or colliedesk_microsoft_disconnect, so it falls short of full when/when-not guidance.

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