Skip to main content
Glama

x_switch_account_and_act_task

Switch X accounts deterministically and execute a focused action such as opening a home page, opening a URL, or following a profile.

Instructions

Run a deterministic account switch followed by a focused action like open-home, open-url, or follow-profile.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoRequired when action=open-url.
actionYesOne of: open-home, open-url, follow-profile.
accountYesTarget X account handle or visible switcher label.
usernameNoRequired when action=follow-profile.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Deterministic' hints at reliability but is never explained — there is no statement about what happens if the account switch fails, whether the switch persists after the action, permission requirements, or error semantics for a tool that mutates session state.

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?

A single front-loaded sentence with no filler, naming the operation and its variadic actions immediately. It is appropriately sized, though it is terse enough that the squeeze comes at the cost of the guidance dimensions rather than from wasted words.

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

Completeness2/5

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

This is a composite, state-mutating task tool with no annotations and no output schema, so the description is the only place failure modes, sequencing guarantees, and post-action state could be documented — and none of that is present. For a tool of this complexity the single sentence is not sufficient to call it safely.

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 100%, including the conditional requirements (url for open-url, username for follow-profile) and the allowed action values, so the schema already does the work. The description's mention of the three actions duplicates schema content and adds no syntax or format detail. Baseline 3 applies.

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 names a specific compound operation — an account switch followed by one of three named actions (open-home, open-url, follow-profile). That is far more concrete than the bare tool name. It stops short of distinguishing itself from siblings like x_switch_account or x_open_home, so an agent can't tell from the text alone why it should pick the bundled tool over the two primitives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says whether this is preferred over calling x_switch_account and x_open_home sequentially, nor when the bundled form is required. The action list implies possible contexts but never states a condition or an alternative, which is exactly what a multi-step orchestrator tool needs.

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