Skip to main content
Glama

Enable or disable account

set_account_enabled
DestructiveIdempotent

Enable or disable a connected account (only workspace owners and admins can do this). While an account is disabled, scheduled posts that come due are put on hold and sent after it is re-enabled; posts that miss their original scheduled date are not sent automatically afterward. Disconnecting an account can only be done by the user on the web. (Required scope: cd.accounts.manage)

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": {
      "accountId": "<accountId>",
      "isEnabled": "<isEnabled>"
    },
    "name": "set_account_enabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdYes
isEnabledYes
workspaceIdNoOptional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses genuinely non-obvious side effects: due scheduled posts are held while disabled and released on re-enable, while posts that miss their original date are dropped rather than sent. It also implies reversibility ('after it is re-enabled') and names the required OAuth scope (cd.accounts.manage), which annotations cannot convey.

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?

Three sentences, front-loaded with the action, then the scheduling side effect, then the permission boundary and scope. Every sentence carries information an agent needs; only the parenthetical scope note feels slightly tacked on rather than integrated.

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 3-parameter mutation with no output schema, the description covers the important ground: who may call it, what breaks while disabled, what is explicitly out of scope, and the required scope string. The remaining gap is the provenance of accountId and any indication of what the response returns, both minor for an idempotent toggle.

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 only 33% — workspaceId is documented in the schema, while accountId and isEnabled are bare. The description clarifies the toggle semantics of isEnabled by framing the tool as enable/disable, but never says where accountId comes from (presumably list_accounts) or how a disabled account's identity is reported. It partially compensates for the coverage gap rather than fully closing it.

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 description opens with a specific verb pair and resource ('Enable or disable a connected account'), which unambiguously separates it from read-oriented siblings like list_accounts or get_account_insights. It stops short of naming any sibling explicitly, but the action and object are concrete enough that no ambiguity remains.

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 the authorization precondition ('only workspace owners and admins can do this') and draws an explicit boundary against a closely related operation: disconnecting 'can only be done by the user on the web,' so the agent knows not to attempt it here. It does not name an alternative tool for any other case, but no obvious alternative exists.

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.