Skip to main content
Glama

x-twitter.tweet_replies

Fetch the latest replies for a single X (Twitter) post by its numeric tweet id.

Returns a timeline of reply tweets with text, engagement counts, author info, media, and in-reply-to metadata. Use cursor from next_cursor to fetch the next page.

Cost = 4 tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesNumeric tweet id.
cursorNoPagination cursor from a previous response next_cursor field.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoReply fetch status from the upstream provider (ok on success).
timelineNoReply tweets, newest first. Additional provider-specific fields may appear on each entry.
next_cursorNoCursor for the next replies page, when available.
prev_cursorNoCursor for the previous replies page, when available.

Schema Changelog

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

  1. Changed17 schema fields changed
    • changedOutput schema / $defs / GetXTweetRepliesResponseTimelineItem / properties / display_text_range / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/GetXTweetRepliesResponseTimelineItemDisplayTextRangeItem"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "type": "integer"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / $defs / GetXTweetRepliesResponseTimelineItem / properties / display_text_range / description
      Previous value: -"Start and end indices for the display text range."New value: +"Start and end character indices for the display text range."
    • changedOutput schema / $defs / GetXTweetRepliesResponseTimelineItem / properties / media / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/GetXTweetRepliesResponseTimelineItemMediaItem"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/$defs/GetXTweetRepliesResponseTimelineItemMedia"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / $defs / GetXTweetRepliesResponseTimelineItem / properties / media / description
      Previous value: -"Attached media items when present."New value: +"Attached media grouped by type (for example video and photo arrays) when present."
    • removedOutput schema / $defs / GetXTweetRepliesResponseTimelineItem / properties / media / title
      Removed value: -"Media"
    • removedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemDisplayTextRangeItem
      Removed value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "index": {
      -      "anyOf": [
      -        {
      -          "type": "integer"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "description": "Character index in the tweet text.",
      -      "title": "Index"
      -    }
      -  },
      -  "title": "GetXTweetRepliesResponseTimelineItemDisplayTextRangeItem",
      -  "type": "object"
      -}
    • changedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemEntitiesHashtagsItem / properties / indices / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/GetXTweetRepliesResponseTimelineItemEntitiesHashtagsItemIndicesItem"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "type": "integer"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemEntitiesHashtagsItem / properties / indices / description
      Previous value: -"Start and end indices in the tweet text."New value: +"Start and end character indices in the tweet text."
    • removedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemEntitiesHashtagsItemIndicesItem
      Removed value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "index": {
      -      "anyOf": [
      -        {
      -          "type": "integer"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "description": "Character index in the tweet text.",
      -      "title": "Index"
      -    }
      -  },
      -  "title": "GetXTweetRepliesResponseTimelineItemEntitiesHashtagsItemIndicesItem",
      -  "type": "object"
      -}
    • changedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemEntitiesUserMentionsItem / properties / indices / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/GetXTweetRepliesResponseTimelineItemEntitiesUserMentionsItemIndicesItem"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "type": "integer"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemEntitiesUserMentionsItem / properties / indices / description
      Previous value: -"Start and end indices in the tweet text."New value: +"Start and end character indices in the tweet text."
    • removedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemEntitiesUserMentionsItemIndicesItem
      Removed value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "index": {
      -      "anyOf": [
      -        {
      -          "type": "integer"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "description": "Character index in the tweet text.",
      -      "title": "Index"
      -    }
      -  },
      -  "title": "GetXTweetRepliesResponseTimelineItemEntitiesUserMentionsItemIndicesItem",
      -  "type": "object"
      -}
    • addedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemMedia
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "photo": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/GetXTweetRepliesResponseTimelineItemMediaPhotoItem"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Photo media items when present.",
      +      "title": "Photo"
      +    },
      +    "video": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/GetXTweetRepliesResponseTimelineItemMediaVideoItem"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Video media items when present.",
      +      "title": "Video"
      +    }
      +  },
      +  "title": "GetXTweetRepliesResponseTimelineItemMedia",
      +  "type": "object"
      +}
    • removedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemMediaItem
      Removed value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "media_url_https": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "description": "HTTPS URL for the media asset.",
      -      "title": "Media Url Https"
      -    },
      -    "type": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "description": "Media type (for example photo or video).",
      -      "title": "Type"
      -    }
      -  },
      -  "title": "GetXTweetRepliesResponseTimelineItemMediaItem",
      -  "type": "object"
      -}
    • addedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemMediaPhotoItem
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "media_url_https": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "HTTPS URL for the photo asset.",
      +      "title": "Media Url Https"
      +    }
      +  },
      +  "title": "GetXTweetRepliesResponseTimelineItemMediaPhotoItem",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemMediaVideoItem
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "media_url_https": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "HTTPS URL for the video thumbnail or asset.",
      +      "title": "Media Url Https"
      +    },
      +    "variants": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/GetXTweetRepliesResponseTimelineItemMediaVideoItemVariantsItem"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Available video quality variants when present.",
      +      "title": "Variants"
      +    }
      +  },
      +  "title": "GetXTweetRepliesResponseTimelineItemMediaVideoItem",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / GetXTweetRepliesResponseTimelineItemMediaVideoItemVariantsItem
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "bitrate": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Video bitrate when provided.",
      +      "title": "Bitrate"
      +    },
      +    "content_type": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "MIME type for the media variant.",
      +      "title": "Content Type"
      +    },
      +    "url": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "HTTPS URL for the media variant.",
      +      "title": "Url"
      +    }
      +  },
      +  "title": "GetXTweetRepliesResponseTimelineItemMediaVideoItemVariantsItem",
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/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 of behavioral disclosure. It does mention the return content (replies with text, engagement counts, author info, media, in-reply-to metadata), pagination via cursor, and cost. However, it omits details like authentication requirements, rate limits, or behavior when no replies exist, which would be valuable for fully transparent behavior.

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 three sentences: purpose, return content, and pagination/cost. It is front-loaded with the primary action, and every sentence adds value without redundancy. It is appropriately sized for the tool's simplicity.

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

Completeness4/5

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

The tool is simple with two parameters and an output schema, so the description doesn't need to explain return formats. It covers the return fields and pagination, which are the essential behavioral aspects. It could mention potential edge cases (e.g., invalid tweet id) but is otherwise complete for a straightforward fetch tool.

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?

The input schema already describes both parameters (id as 'Numeric tweet id' and cursor as 'Pagination cursor from a previous response next_cursor field'). The description repeats these details without adding significant new meaning. Since schema coverage is 100%, the baseline of 3 is appropriate; no extra semantics are needed from the description.

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 begins with 'Fetch the latest replies for a single X (Twitter) post by its numeric tweet id,' which clearly states the action ('Fetch'), the target resource ('replies for a single X post'), and the required input ('numeric tweet id'). This distinguishes it from sibling tools like tweet_info (which likely fetches the tweet itself) and user_timeline (which fetches a user's posts).

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 conveys when to use the tool: when you need replies for a specific post. It doesn't explicitly name alternatives or exclusions, but the context of sibling tools like tweet_info and user_timeline makes the intended use clear. This aligns with 'clear context, no exclusions' from the rubric.

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.