Skip to main content
Glama

Disconnect Google Email

gmail_disconnect
Destructive

Disables inspected Google Email authority and retains provider cleanup work.

Requires lifecycle authority and gmail_disconnect_impact's token; no generic channel delete. cleanup_pending or a failed wake is not provider erasure. Cleanup retries retain responsibility; reconnect does not restore old grants. Actual host action confirmation is required; gmail_disconnect_impact shows local state after a lost response.

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent ID from agents_list or agent_create.
expected_impactYesCurrent impact_token from gmail_disconnect_impact for this Agent.

Output Schema

NameRequiredDescriptionDefault
stateYes
effectNo
next_actionYes
cleanup_wake_requestedNo
provider_erasure_verifiedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Agent ID from agents_list or agent_create."
    • addedInput schema / properties / expected_impact / description
      Added value: +"Current impact_token from gmail_disconnect_impact for this Agent."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=false, openWorld=true, so the safety profile is covered. The description adds real value beyond that: cleanup may remain pending, a failed wake is not erasure, retries stay the caller's responsibility, reconnect does not restore old grants (irreversibility), and host-action confirmation is required. Some phrasing ('failed wake,' 'retain responsibility') is opaque, keeping it below a 5.

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 main action is front-loaded, but the body is five dense, jargon-laden sentences where clauses like 'cleanup_pending or a failed wake is not provider erasure' are hard to parse. The content is mostly useful, but clarity-per-sentence is weaker than the size warrants.

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?

With an output schema present and annotations covering safety, the description needn't explain return values; it instead covers prerequisites, failure/cleanup states, irreversibility, and lost-response recovery. This is close to complete for a destructive disconnect, with only the provider_disconnect distinction missing.

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 coverage is 100%: agent_id and expected_impact are both documented, including the source of the impact token. The description reinforces that expected_impact comes from gmail_disconnect_impact but adds no syntax or validation detail beyond the schema, so baseline 3 is appropriate.

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?

States a specific verb and resource: it disables Gmail authority / disconnects Google Email, and explicitly excludes 'generic channel delete,' which distinguishes it from channel_remove and provider_disconnect. The phrasing 'inspected Google Email authority' and 'provider cleanup work' is jargon-heavy, but the core action is identifiable.

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 concrete prerequisite ('Requires lifecycle authority and gmail_disconnect_impact's token'), routing the agent to call the impact tool first, and rules out 'no generic channel delete.' It does not explicitly contrast with the sibling provider_disconnect, so the generic-vs-Gmail routing is left partly implicit.

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