Skip to main content
Glama

get_tweet

Retrieves one X/Twitter post by ID with full text, metrics, media URLs, and author details, including complete long-form note bodies instead of truncated text.

Instructions

One post with full text, metrics, media URLs and author.

Long-form posts are returned in full (the note_tweet body), not truncated at 280 characters. Use get_tweets() to batch several ids.

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_tweet"
  }
}

Input Schema

NameRequiredDescriptionDefault
tweet_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.6
    • removedInput schema / properties / tweet_id / description
      Removed value: -"The numeric tweet ID."
    • changedInput schema / properties / tweet_id / type
      Previous value: -"integer"New value: +"string"
  2. First observedv1.0.3

TDQS

A3.6/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 disclosure burden. It does add one genuinely useful behavioral fact, that long-form posts come back complete via the note_tweet body rather than truncated at 280 characters, but says nothing about auth requirements, error behavior for deleted or protected posts, or rate limits.

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?

Three short sentences, front-loaded with the return shape, followed by the surprising behavior and then the alternative. No padding or restated metadata.

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?

An output schema exists, so return fields need not be itemized, yet the description still summarizes them usefully. For a one-parameter read tool with an output schema, the main open question is input id format and visibility rules on private posts, which is the only real gap.

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

Parameters2/5

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

The single tweet_id parameter has 0% schema description coverage, so the description must compensate. It only indirectly implies that it accepts one id at a time and that ids are what get_tweets() takes in batches, without stating the expected format (numeric string, URL form) or whether it must be a post the caller can see.

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 names the resource (one post) and enumerates what comes back: full text, metrics, media URLs, author. The retrieval intent is implicit in 'One post with full text' rather than carried by an explicit verb, which keeps it just short of a 5.

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?

'Use get_tweets() to batch several ids' gives an explicit alternative and the condition that selects it, so the single-vs-batch decision is resolved. It stops short of a 5 because there is no guidance on when not to fetch a post at all or on other siblings such as replies/quotes.

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