Skip to main content
Glama
zezeron
by zezeron

Get Tweet

tweetsave_get_tweet
Read-onlyIdempotent

Fetch a tweet by URL or ID to get its text, media, polls, and engagement metrics in markdown or JSON. No API key required.

Instructions

Fetch a single tweet with all its content including text, media (photos, videos, GIFs), polls, and engagement metrics.

This tool retrieves tweet data from Twitter/X using the FxTwitter API. It returns the tweet content, author info, media URLs, and engagement stats.

Args:

  • url (string): Tweet URL or tweet ID

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns: Tweet data including:

  • Author info (name, username, avatar)

  • Tweet text

  • Media URLs (photos, videos)

  • Engagement (likes, retweets, replies, views)

  • Poll data (if applicable)

  • Quote tweet (if applicable)

Examples:

  • "Get tweet from https://x.com/elonmusk/status/123456"

  • "Fetch this tweet: 123456789"

Note: Does not fetch replies. Use tweetsave_to_blog for a complete blog post with formatting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesTweet URL or tweet ID. Examples: 'https://x.com/user/status/123456' or '123456'
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true. The description adds behavioral context by mentioning the use of the FxTwitter API, the output format options (markdown/json), and the return data structure including author info, media URLs, and engagement stats. While it does not discuss rate limits or authentication, the combination of annotations and description provides sufficient transparency.

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 structured and front-loaded: first sentence states purpose, followed by paragraphs for arguments, returns, examples, and notes. Every sentence adds value without redundancy. It is appropriately sized for the tool's complexity.

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?

Given the absence of an output schema, the description provides a good overview of return data (author, text, media, engagement, polls, quote tweets). It also notes limitations. However, it could be more precise about the exact fields and nesting structure, leaving some ambiguity for agents that need strict parsing guidance.

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?

With 100% schema description coverage, the description adds significant meaning beyond the schema: it explains that `url` can be a tweet URL or ID and provides examples; for `response_format`, it clarifies the two options and their purposes. The 'Returns' section elaborates on the output, compensating for the lack of an output schema.

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 clearly states that the tool fetches a single tweet with all its content, including text, media, polls, and engagement metrics. It distinguishes from sibling tools by noting that it does not fetch replies and directs users to `tweetsave_to_blog` for complete blog post formatting.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use: to retrieve a single tweet. It also specifies what not to use it for (fetching replies) and offers an alternative tool (`tweetsave_to_blog`) for related tasks. Examples of input formats (URL or ID) further clarify usage.

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/zezeron/tweetsave-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server