Skip to main content
Glama

twitter_user

Fetch a public X profile by username: bio, followers, and verification.. Platform=twitter resource=user. Costs 2 credit(s). Requires Authorization: Bearer <api_key>.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesUsername without @.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two useful traits: a 2-credit cost and a Bearer api_key authorization requirement. However, it says nothing about failure modes (private/suspended accounts), rate limits, or response shape.

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?

Front-loaded with the core action in the first clause, and the cost/auth notes are short. Slight deductions for the stray double period and the redundant 'Platform=twitter resource=user' metadata line that repeats the tool name.

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 single-parameter, no-output-schema tool, the description covers the identity of the resource, the key returned fields, cost, and auth. It is close to sufficient, though it omits what happens when the profile is missing or protected.

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% and the single parameter is documented with an example format, so the baseline is 3. The description's 'by username' adds almost nothing beyond the schema's 'Username without @.'

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?

States a specific verb (Fetch), a specific resource (public X profile), and the access path (by username), plus the fields returned (bio, followers, verification). This distinguishes it from siblings like twitter_tweets (timeline content) and twitter_post (single post).

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 guidance on when to use this tool versus alternatives (e.g., twitter_tweets for timeline content), no exclusions, and no prerequisites beyond the auth note. The use case is only implied by the resource name.

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