Skip to main content
Glama
TwitterAPIs

twitterapis

twitter_user_tweets_and_replies

Read-only

Fetch a user's complete timeline of original tweets and replies, with pagination and filtering options for retweets, replies, and quotes.

Instructions

Get a user's full activity timeline: their original tweets AND replies to others. Useful for understanding how someone engages with a community, not just what they post. Paginate with cursor. Items carry is_retweet, is_reply and is_quote booleans; filter on those if you need a specific subset. Note that twitter_user_tweets does NOT filter replies or retweets out either, so on many accounts the two endpoints return overlapping or identical pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoMax items to return for this page. Typical range 1 to 200; endpoint default (20) applies if omitted. To page through results, pass the cursor from the previous response.
cursorNoOpaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.
user_idNoNumeric Twitter/X user id (e.g. "44196397"). Provide exactly one of username or user_id.
usernameNoTwitter/X handle WITHOUT the leading @ (e.g. "elonmusk", "openai"). Provide exactly one of username or user_id.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

A4.7/5.0
Behavior5/5

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

Despite annotations indicating readOnlyHint and openWorldHint, the description adds significant behavioral context: it mentions pagination via cursor, item booleans (is_retweet, is_reply, is_quote) for filtering, and the overlap behavior with sibling endpoint. This goes beyond the annotations, which are minimal.

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 two sentences long, front-loaded with the primary purpose, and includes necessary filtering and pagination details without verbosity. Every sentence adds value, and the mention of sibling overlap is crucial.

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 read-only list endpoint with no output schema, the description covers what the tool does, how to paginate, how to filter, and its relationship to a sibling tool. The complexity is moderate, and the schema already documents parameters well; the description fills the gap regarding response item booleans and overlap, making it complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so parameters are well-documented in the schema. However, the description adds no additional param-specific meaning (e.g., examples or caveats). Since the schema covers everything, this is a solid baseline; the minor gap is not mentioning that 'cursor' is opaque but that is in schema.

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 clearly states it retrieves a user's full activity timeline, including original tweets and replies, which distinguishes it from the sibling tool twitter_user_tweets. It explicitly notes the overlap with twitter_user_tweets, making the distinction clear.

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

Usage Guidelines4/5

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

The description explains when to use this tool (understanding engagement with a community) and notes that twitter_user_tweets does not filter replies or retweets, so they may produce overlapping results. It does not explicitly list when not to use it, but the context implies alternatives may be redundant.

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