Skip to main content
Glama

get_tweet_thread_context

Read-onlyIdempotent

Get thread context around a tweet (ancestors + related replies). Use cursor to paginate.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tweetId": "<tweetId>"
    },
    "name": "get_tweet_thread_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoPagination cursor from a previous response next_cursor. Omit or "" for the first page.
tweetIdYesTweet id (original or reply)

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description does add a useful behavioral detail, that the result set includes ancestors plus related replies and is paginated, but it omits ordering, depth limits, or how complete the ancestor chain is.

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?

Two short sentences with the payload definition front-loaded ahead of the pagination note; nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description does well to describe what comes back, but for an open-world paginated read it leaves out how many ancestors/replies are returned, result ordering, and whether partial threads are possible. That is enough to start a call but not enough to interpret results confidently.

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 coverage is 100% and both parameters already carry descriptions, including the cursor's 'next_cursor' origin and the empty-string first-page convention. The description's cursor sentence restates the schema rather than adding format or semantics beyond it.

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 pairs a specific verb and resource ('Get thread context around a tweet') with a concrete definition of the payload in parentheses ('ancestors + related replies'), which distinguishes it from a plain replies fetch. It stops short of naming a sibling such as get_tweet_replies, so an agent must infer the boundary from the parenthetical.

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 only guidance is 'Use cursor to paginate,' which is invocation mechanics rather than selection guidance. Nothing indicates when to prefer this over get_tweet_replies, get_tweet_quotes, or get_tweets_by_ids, and 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources