Skip to main content
Glama

Disconnect an account

accounts_disconnect
Destructive

Disconnect one account. Its stored connection is deleted and its queued posts are cancelled, so nothing more is sent to it; posts already made stay in the history. The account stays in the list as disconnected until the user connects it again on their account page. Where the network allows it, this service also asks the network to revoke its access, and the answer waits for the network (up to about 20 seconds): account.revocation says what was revoked. status revoked: the network confirmed it. status unconfirmed: it was not revoked there, with the reason and, in message and settingsUrl, where the user removes the app themselves. A Google sign-in (YouTube, Business Profile) or a Facebook login that other connected accounts still use is left in place (reason shared) and revoked with the last of them. Ask the user first.

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": {
      "id": "<id>"
    },
    "name": "accounts_disconnect"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAn account id from accounts_list.
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond destructiveHint/readOnlyHint, the description discloses exactly what is destroyed and what is preserved (queue cancelled, past posts kept, account remains listed as disconnected), plus the upstream revocation attempt with a ~20 second blocking wait and how to interpret 'revoked' vs 'unconfirmed' with reason/message/settingsUrl. That is genuinely additive behavioral context an agent could not derive from annotations. Minor tension with openWorldHint=false given the outbound call to the network, but the call is scoped to the user's own connected account, so this is not a substantive contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action and its effects are front-loaded in the first sentence, and the dense revocation-status passage earns its space because there is no output schema to document account.revocation. The single-block paragraph is heavy, and the shared-login sentence could be split or tightened, but there is little genuine waste.

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, externally-effecting tool with no output schema, the description covers effects, side effects, blocking behavior, return-value interpretation, and the edge case of shared Google/Facebook logins. An agent has enough to call it correctly and to warn the user before doing so.

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 both parameters are already documented, including the brandId multi-brand condition. The description adds no parameter-level meaning beyond the schema (it repeats no field guidance), so the baseline 3 applies.

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 opens with a specific verb and resource ('Disconnect one account') and immediately scopes the semantics: the stored connection is deleted, queued posts are cancelled, history is retained. This is clearly distinguishable from accounts_connect/accounts_list-type siblings without reading any 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?

'Ask the user first' is an explicit operational precondition for invoking the tool, and the shared-login paragraph explains a case-specific outcome rather than leaving it to inference. What is missing is an explicit statement of when not to use it (e.g. use accounts_connect when the intent is to re-link), so it falls short of a full when/when-not/alternatives treatment.

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.