Skip to main content
Glama

Disconnect provider

provider_disconnect
Destructive

Withdraws the exact inspected Workspace provider connection under lifecycle authority.

Requires provider_disconnect_impact's current token; a replaced connection conflicts. The token is not human assent; actual host action confirmation remains required. Local withdrawal is not provider grant/data erasure. provider_disconnect_impact shows local state after a lost response; another action depends on that current state.

Input Schema

NameRequiredDescriptionDefault
providerYesWorkspace connection provider to disconnect across its affected Agents.
expected_impactYesCurrent impact_token from provider_disconnect_impact; a replaced connection conflicts.

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 / expected_impact / description
      Added value: +"Current impact_token from provider_disconnect_impact; a replaced connection conflicts."
    • addedInput schema / properties / provider / description
      Added value: +"Workspace connection provider to disconnect across its affected Agents."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructive, openWorld, and non-idempotent, so the safety bar is partly met structurally. The description adds genuinely non-obvious behavior: the token is tied to an exact inspected connection, host action confirmation is still required separately, and local withdrawal does not revoke provider grants or erase data — all important for setting operator expectations.

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?

It is short enoughto be front-loaded, but several sentences are compressed to the point of obscurity — 'provider_disconnect_impact shows local state after a lost response; another action depends on that current state' requires rereading, and the passive, clipped phrasing trades clarity for density.

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, return values need not be explained. The description covers the prerequisite, the conflict condition, the non-erasure scope, and the separate host confirmation step — enough for a destructive, non-idempotent tool, though it leaves the recovery path after a lost response only hinted at.

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%, so baseline is 3. The description goes beyond the schema by explaining the concurrency semantics of expected_impact (stale/replaced-connection conflict) and that the token is authoritative for the exact inspected connection, which the schema's terse pattern note does not convey.

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 (withdraws) and resource (the inspected Workspace provider connection) and frames it under lifecycle authority. It is clearly a disconnect operation on a previously inspected connection, though the phrasing is idiosyncratic and does not explicitly contrast with the sibling gmail_disconnect.

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?

It states a hard prerequisite (provider_disconnect_impact's current token), a failure condition (a replaced connection conflicts), and clarifies that the token is not human assent. What is missing is any statement about when to prefer this over the provider-specific siblings such as gmail_disconnect, so the routing guidance is only partial.

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