Skip to main content
Glama

X Accounts

get_x_accounts
Read-only

List connected X (Twitter) accounts. Search by username or filter by site. Each account record includes premium (boolean) and max_tweet_length (integer) — ALWAYS read these before drafting tweet content. Premium accounts allow up to 25,000 chars; non-premium are limited to 280. If max_tweet_length is null, treat the limit as unknown and ask the user rather than assuming 280.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_x_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
domainNo
site_idNo
usernameNo
account_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds real behavioral knowledge beyond that: what fields each record carries, the 25,000 vs 280 character split, and an explicit null-handling rule that prevents an agent from silently defaulting to 280. It stops short of describing pagination, ordering, or empty-result behavior for a list tool.

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?

Purpose is front-loaded and the character-limit constraint follows immediately with no filler. The conditional null rule is slightly repetitive of the preceding sentence but is short enough to earn its place as an explicit fallback instruction.

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?

With no output schema, the description does well to name the two key record fields an agent needs, but it does not sketch the rest of the returned record shape. Combined with five undocumented input parameters, an agent can invoke it but cannot confidently predict filter behavior or the full result structure.

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% across five parameters, so the description must carry the burden. It only implicitly covers username ("search by username") and site_id/domain ("filter by site"), leaving query, account_name, and the domain-vs-site_id distinction entirely undocumented, including whether the filters combine or how matching is performed.

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?

"List connected X (Twitter) accounts" states a specific verb and resource, and the follow-on sentence names the two narrowing modes (username search, site filter). It does not distinguish itself from adjacent lookups such as get_me or get_account_context, so an agent cannot rule those out from the text alone.

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

Usage Guidelines3/5

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

The description gives strong downstream guidance — read premium and max_tweet_length before drafting tweet content, and ask the user when the limit is null — which is genuinely useful workflow routing. It gives no guidance on when this tool should be chosen over the sibling account-context tools, so selection guidance is only implied.

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