Skip to main content
Glama
TwitterAPIs

twitterapis

twitter_user_status

Read-only

Check if a Twitter/X account is alive, suspended, deleted, or unavailable. Returns the account status and numeric ID when active, including any reason provided by X.

Instructions

Check whether a Twitter/X account is alive, suspended, or deleted. Returns a status field that is one of 'alive', 'suspended', 'not_found', or 'unavailable', plus the numeric id when the account is alive and X's own reason when it gives one. Use this instead of twitter_user_info when the QUESTION is whether the account still exists: user info answers a suspended account, a deleted account, and a handle that never existed all the same way, so it cannot tell a ban from a typo. Every outcome here is a successful response, so read the status field rather than treating a suspension as an error. A protected (private) account counts as alive, since protection is a visibility setting and not an account state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userNameYesTwitter/X handle WITHOUT the leading @ (e.g. 'elonmusk', 'openai', 'sama').
Behavior5/5

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

Annotations (readOnlyHint=true, openWorldHint=true, destructiveHint=false) already declare a safe read operation; the description enriches this by explaining that every outcome is a successful HTTP response, that protected accounts count as 'alive', and how to interpret X's own reason. No contradiction with annotations.

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 description is long but well-structured and front-loaded: purpose first, then return semantics, then comparisons, then edge cases. Every sentence contributes—the only quibble is the length could be trimmed, but nothing is wasteful.

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 single-parameter status-check tool with no output schema, the description provides everything needed: all four status values, conditions for each, numeric id disclosure, and the protected-account edge case. It is complete for the tool's complexity level.

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%—the single parameter already includes a clear description with examples ('WITHOUT the leading @ (e.g. 'elonmusk', 'openai', 'sama')'). The description adds no parameter-specific info, but the schema carries the full burden, 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+resource+scope ('Check whether a Twitter/X account is alive, suspended, or deleted') and enumerates the exact statuses returned. It further distinguishes itself from twitter_user_info by explaining that the sibling cannot distinguish a ban from a typo, which is strong differentiation in a large sibling list.

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

Usage Guidelines5/5

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

Explicitly names the alternative tool ('Use this instead of twitter_user_info') and gives a precise decision rule—when the QUESTION is whether the account still exists—with a rationale (user info answers all miss-cases the same way). Adds operational guidance: 'read the status field rather than treating a suspension as an error.'

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TwitterAPIs/twitterapis-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server