Skip to main content
Glama

get_thread

Retrieves the full conversation thread for any X/Twitter post, returning the focal post, its ancestors, and replies oldest first so agents can follow discussions.

Instructions

The conversation a post belongs to, oldest first.

Pass any id in the thread. Includes the focal post, its ancestors and the replies X returns for that conversation.

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": {
      "tweet_id": "<tweet_id>"
    },
    "name": "get_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
tweet_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.6
    • removedInput schema / properties / limit / description
      Removed value: -"Max tweets in thread (default 50)."
    • removedInput schema / properties / tweet_id / description
      Removed value: -"Any tweet ID in the thread (the API finds the full conversation)."
    • changedInput schema / properties / tweet_id / type
      Previous value: -"integer"New value: +"string"
  2. First observedv1.0.3

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two behavioral traits: ordering (oldest first) and that only 'the replies X returns' are included, signalling possible incompleteness. It says nothing about read-only safety, pagination, or what happens when the limit truncates the tree.

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, front-loaded with what the tool returns and how it is ordered, with the anchoring rule as a second beat. There is no filler.

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?

An output schema exists, so return shape need not be described, and the core behavior is covered. However, for a tool with zero annotation coverage and two undocumented parameters (including a default-50 limit that can silently truncate the thread), the description leaves an agent guessing about result size and safety.

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

Parameters1/5

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

There is one meaningful semantic note ('pass any id in the thread'), but the description does not say whether its ordering applies to tweet_id. For this tool, which has two parameters and 0% schema description coverage, tweet_id and limit are both undocumented in the schema, and the description explains one of them only loosely. This is a partial gap, so a higher score is not warranted. Reconsidering: the definition does clarify that tweet_id may be any post id, which is non-obvious, but 'limit' is entirely unexplained. Score 2.

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 states a specific resource and scope: 'the conversation a post belongs to, oldest first,' which tells an agent this returns a reply tree rather than a flat list. It is clearly distinguishable from the DM-oriented sibling get_dm_conversation, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

It gives an invocation hint ('pass any id in the thread'), which is real guidance about anchoring, but it offers no when-to-use versus when-not framing and no mention of alternatives such as a single-post lookup or a timeline tool. Usage is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools