Skip to main content
Glama
tiovikram

X.com MCP Server

by tiovikram

getUserTimeline

Retrieve a user's timeline of posts from X.com with options for pagination, time filtering, and field selection to access specific content.

Instructions

Get a user's timeline of posts

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe user ID whose timeline to retrieve
pagination_tokenNoToken for pagination
max_resultsNoMaximum number of results
expansionsNoComma-separated list of expansion fields
tweet.fieldsNoComma-separated list of tweet fields to include
user.fieldsNoComma-separated list of user fields to include
excludeNoComma-separated list of types to exclude
start_timeNoStart time for the timeline
end_timeNoEnd time for the timeline
since_idNoOnly return posts after this ID
until_idNoOnly return posts before this ID
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It only states the basic action ('Get') without mentioning pagination behavior (implied by 'pagination_token' parameter but not explained), rate limits, authentication requirements, error conditions, or what format/scope the timeline includes. For a retrieval tool with 11 parameters, this leaves significant behavioral gaps.

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?

The description is extremely concise with a single sentence that directly states the tool's purpose. There's no wasted language or unnecessary elaboration. It's appropriately sized for a retrieval operation and front-loads the essential information.

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?

Given the tool's complexity (11 parameters, no output schema, no annotations), the description is insufficiently complete. It doesn't explain what a 'timeline' entails (chronological posts? includes retweets?), how results are structured, pagination behavior, or error handling. For a data retrieval tool with many filtering options, more context is needed to use it effectively.

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?

The description adds no parameter-specific information beyond what's already in the schema (which has 100% coverage). It doesn't explain relationships between parameters (e.g., how 'start_time'/'end_time' interact with 'since_id'/'until_id'), provide examples for complex fields like 'expansions', or clarify the timeline's chronological order. With complete schema coverage, the baseline is 3.

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 clearly states the tool's purpose: 'Get a user's timeline of posts' specifies the verb ('Get') and resource ('user's timeline of posts'). It distinguishes from some siblings like 'getSinglePost' or 'getUserBookmarks' by focusing on a chronological feed, but doesn't explicitly differentiate from all similar retrieval tools like 'getUserMentions' or 'searchRecent'.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention when this tool is appropriate compared to siblings like 'getUserMentions' (for mentions timeline), 'searchRecent' (for keyword-based timeline), or 'getLikedTweets' (for liked posts). No exclusions or prerequisites are stated.

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/tiovikram/x.com-mcp-server'

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