Skip to main content
Glama

set_active_account

Sets a chosen X/Twitter account as the default for all Spectre calls, so brand posts or personal DMs use the right handle while other accounts remain fallback on rate limits.

Instructions

Make one account the first choice for every call.

The pool still falls back to the others on a rate limit unless auto-rotation is off. Use when a specific account must own the action (posting as a brand, DMs from a personal handle).

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": {
      "username": "<username>"
    },
    "name": "set_active_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.6
    • removedInput schema / properties / username / description
      Removed value: -"The @handle of the account to set as primary."
  2. First observedv1.0.3

TDQS

A4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full disclosure burden, and it delivers the non-obvious behavioral fact that the selection is a preference rather than a hard pin — the pool still falls back on rate limits unless auto-rotation is disabled. What remains undisclosed is persistence (how long the selection lasts), whether it affects concurrent calls, and any auth requirements; the output schema covers return values.

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 short sentences, each doing distinct work: the action front-loaded, then the fallback caveat, then the selection criteria with examples. No redundancy and nothing that could be cut without losing information.

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 one-parameter state-setting tool with an output schema, this covers action, side-effect semantics, and selection criteria adequately. Only the identifier format for 'username' is left unaddressed, which is a small residual gap rather than a blocker.

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 description coverage is 0% for the single 'username' parameter, so the description would ideally specify the expected identifier format. It only implies the parameter by talking about 'one account,' adding no format, prefix, or validation guidance. The tool is trivially small, so this is a modest gap rather than a crippling one.

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 states a specific action on a specific resource: 'Make one account the first choice for every call.' That is far more informative than the bare name, and the rate-limit fallback sentence further clarifies what 'active' actually means. It does not explicitly contrast itself with the sibling set_auto_rotate, though it references auto-rotation as a related state.

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 gives a clear when-to-use rule with two concrete examples ('posting as a brand, DMs from a personal handle') plus the conditional modifier 'unless auto-rotation is off.' There is no explicit when-not-to-use statement or named alternative tool, which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools