Skip to main content
Glama

Disconnect an account

disconnect_account
Destructive

Disconnect a third-party integration the user previously connected.

Removes a catalog MCP connection and its stored credential. Disconnecting a Porter marketing account (a SourceUser) is not supported here — manage those from the Porter app.

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": {
      "connector": "<connector>",
      "account_id": "<account_id>"
    },
    "name": "disconnect_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
connectorYes
account_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description earns credit for specifying precisely what is destroyed — the connection and the stored credential — which the annotations cannot convey. It stops short of saying whether the operation is reversible or whether re-authorization is required to reconnect.

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 sentences, front-loaded with the core action, then the destruction detail, then the exclusion. Every sentence carries distinct information with no repetition of the title or annotations.

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

Completeness3/5

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

The presence of an output schema removes the need to describe return values, and the destructive behavior is covered. However, for a destructive two-parameter tool, the missing guidance on how to source and format connector and account_id is a real completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and both required parameters (connector, account_id) are opaque — the description never explains their format or where to obtain them (e.g. list_connectors or list_accounts). For a destructive tool with two undocumented required inputs, this leaves the agent guessing at call construction.

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 ('Disconnect a third-party integration', 'Removes a catalog MCP connection and its stored credential') so the agent knows exactly what is removed. It does not name its sibling connect_account explicitly, relying on the reader to infer the inverse relationship, which keeps it short of a 5.

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 positive condition (a previously connected third-party integration) and an explicit exclusion ('Disconnecting a Porter marketing account (a SourceUser) is not supported here — manage those from the Porter app'). It never names an alternative sibling tool or states prerequisites such as needing the account to be currently connected.

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