Skip to main content
Glama
tangivis

twikit-mcp

by tangivis

get_tweet_replies

Fetch paginated replies to a tweet. Pass a tweet ID to retrieve comments, author, text, likes, retweets, and a cursor for more pages.

Instructions

Fetch replies (comments) to a tweet (issue #94).

Uses X's TweetDetail GraphQL endpoint via vendored twikit's Client.get_tweet_by_id, which populates tweet.replies as a paginated Result[Tweet]. One page per call; pass the returned next_cursor to fetch more.

Args: tweet_id: The tweet ID (numeric string) or full URL. cursor: Pagination cursor from a previous response's next_cursor; omit for the first page.

Returns: JSON with tweet_id, replies (compact list — id/author/text/ created_at/likes/retweets), next_cursor, count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tweet_idYes
cursorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description fully discloses the underlying implementation (GraphQL endpoint, twikit client), pagination behavior, and the exact return fields (id, author, text, etc.). There is no contradiction between the description and any annotations (none exist).

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 concise (6 sentences) and well-structured: purpose first, then implementation detail, then parameter descriptions, then return format. Every sentence adds value, and the information is front-loaded.

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?

Given the tool's simplicity (2 parameters, no annotations, but an output schema exists), the description covers all necessary information: what it does, how to paginate, what parameters mean, and what the response contains. No gaps are evident.

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

Parameters5/5

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

The input schema has 0% description coverage, but the description compensates fully by explaining `tweet_id` (accepts numeric string or full URL) and `cursor` (pagination cursor, omit for first page). This adds critical meaning beyond the schema's bare type definitions.

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 states 'Fetch replies (comments) to a tweet' with a specific verb and resource, clearly distinguishing it from sibling tools like 'get_tweet' (which fetches a single tweet) and 'get_timeline'. The reference to 'issue #94' is a minor distraction but does not obscure the purpose.

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 pagination ('One page per call; pass the returned `next_cursor` to fetch more'), providing clear instructions for iterative use. It does not explicitly compare to alternatives or state when not to use it, but the context is sufficient given the tool's focused scope.

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/tangivis/twitter-mcp'

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