Skip to main content
Glama
tangivis

twikit-mcp

by tangivis

get_tweet_replies

Fetch replies to a tweet by ID or URL. Returns a paginated list of comments with author, text, timestamps, and engagement metrics. Use the next_cursor to retrieve additional 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
cursorNo
tweet_idYes

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 carries the full transparency burden. It discloses the underlying GraphQL endpoint, pagination behavior, one-page-per-call semantics, and return fields. It goes beyond simple 'fetches replies' to explain how results are structured and how to page through them, giving the agent actionable behavioral expectations.

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 well-structured with a clear summary, implementation detail, Args section, and Returns section. Every sentence contributes to understanding or usage. The 'issue #94' reference is minor noise but not enough to detract from the overall efficiency.

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?

The tool involves pagination and two parameters, and the description covers pagination flow, parameter semantics, and return format. An output schema exists, so the description doesn't over-explain return values, but it provides enough context for the agent to use the tool correctly without ambiguity.

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?

Schema coverage is 0%, so the description fully compensates. It explains tweet_id accepts a numeric string or full URL, and cursor is the pagination token from a previous next_cursor, with explicit 'omit for the first page' guidance. This adds meaning far beyond the raw schema types.

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 opens with 'Fetch replies (comments) to a tweet' – a specific verb, resource, and scope that clearly distinguishes it from siblings like get_tweet or get_timeline. The explicit reference to paginated replies and the tweet ID input further cements its unique 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 clearly states the tool fetches replies and one page per call, with a cursor to fetch more. However, it does not explicitly contrast with alternatives such as get_tweet or search_tweets, nor does it state when not to use this tool. The use case is implied strongly but not compared against sibling tools.

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