Skip to main content
Glama

disconnect_integration

Destructive

DESTRUCTIVE: disconnect the calling user from an integration and remove their stored connection in FuseAI. HubSpot and Notion tokens are also revoked at the provider, FuseAI's webhook is deleted in Attio, and the FuseAI app is uninstalled from the GoHighLevel sub-account when no other connection uses it; Salesforce, Zoho and Pipedrive grants are not revoked at the provider. When no teammate stays connected to that CRM, the team's CRM sync settings are archived and its scheduled syncs stop. service ∈ hubspot|salesforce|zoho|pipedrive|attio|gohighlevel|notion|slack. Confirm with the user before calling. Slack: archives only the user's own connection, and nothing is revoked or uninstalled at Slack; the team owner's, which a teammate without one posts with, is the owner's to disconnect. The owner's disconnect also turns off FuseAI's Slack agent in every Slack workspace of the team, and teammates without their own connection can no longer post; anyone else's turns off the agent in workspaces they installed it in or are connected to, once no other teammate is connected there. Without a connection of their own, a member gets 403 INSUFFICIENT_PERMISSION, and an admin gets 400 MISSING_SLACK_CREDENTIALS unless an agent they installed is turned off.

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": {
      "service": "<service>"
    },
    "name": "disconnect_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
serviceYesThe integration to disconnect

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes far beyond the destructiveHint annotation: names which providers have tokens revoked at source (HubSpot, Notion) vs not (Salesforce, Zoho, Pipedrive), specifies Attio webhook deletion and GoHighLevel app uninstall, and explains the downstream effect of archiving team CRM sync settings and stopping scheduled syncs. Slack semantics and the 403/400 error conditions add concrete failure-mode context an agent cannot get from annotations.

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?

Front-loading 'DESTRUCTIVE:' is good structure, but the Slack section is a dense run-on with nested clauses and parentheticals that is hard to parse for a one-parameter tool. Much of the provider detail is valuable, yet the phrasing could be tightened considerably.

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?

For a destructive, single-parameter operation with no output schema, the description covers consequences, provider-specific side effects, and error codes comprehensively. It stops short of describing what a successful response returns, which is the only notable gap.

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% and the single `service` parameter already carries the full enum with a description, so the description's restatement of the enum values adds emphasis but no new meaning. Baseline 3 applies since the schema does all the work here.

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 ('disconnect the calling user from an integration and remove their stored connection in FuseAI') and enumerates per-provider scope, which distinguishes it clearly from the disconnect_email_account / disconnect_linkedin_account siblings that target other account types.

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?

Explicitly instructs 'Confirm with the user before calling' and scopes behavior to the calling user only, which is real usage guidance. It does not point to any alternative tool (e.g., a team-level or bulk disconnect) if one exists, but the destructive framing makes when-to-use clear.

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.