Skip to main content
Glama
TwitterAPI.io MCP Server

TwitterAPI.io MCP Server

Official

get_user_info

Fetch basic X/Twitter profile details by handle—user ID, display name, bio, follower/following counts, verification status, location, and account creation date—to identify and evaluate accounts.

Instructions

Fetch basic profile info for an X/Twitter account by handle: user ID, display name, bio, follower/following counts, verification status, location, and account creation date.

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": "get_user_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
userNameYesX/Twitter handle without the leading @ sign (e.g. 'elonmusk').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the returned field set (user ID, name, bio, counts, verification, location, creation date), which is genuinely useful with no output schema present, but it says nothing about auth requirements, rate limits, or behavior for suspended/protected/nonexistent handles.

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?

One front-loaded sentence that names the verb, resource, and return fields with no filler. Nothing is redundant or misplaced.

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 read tool with no output schema and no annotations, the field enumeration supplies most of what an agent needs to call it correctly. The remaining gap is edge-case behavior (missing/suspended accounts, auth or rate limits), which is minor for a simple lookup.

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% and the single parameter already documents that the handle is supplied without the leading '@'. The description's 'by handle' wording reinforces this but adds no syntax or formatting detail beyond the schema, so the baseline of 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?

States a specific verb ('Fetch') and resource ('basic profile info for an X/Twitter account by handle') and enumerates exactly which fields come back. The 'basic profile' framing implicitly distinguishes it from the sibling list-oriented tools (followers, tweets, mentions), though no sibling is named explicitly.

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?

The description gives no when-to-use or when-not guidance and never names an alternative. An agent must infer from 'basic profile info' that this is the single-account lookup rather than a timeline or relationship listing; nothing addresses bulk use or fallbacks.

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