Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Twitter/X Tweet Details

twitter_tweet_details

Fetch a public tweet's JSON details by URL—text, author followers, engagement counts, media, and ISO publish time—for monitoring or analysis; optional 24h cache.

Instructions

One tweet as JSON — text, author (followers), likes/replies/retweets/quotes, media, ISO publishedAt. Costs 1 credit. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": {
      "url": "<url>"
    },
    "name": "twitter_tweet_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic tweet URL, e.g. https://x.com/user/status/ID. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full behavioral burden and delivers the important parts: 1 credit per call, no charge on empty results or failures, and a 24h cache that is off by default. It stops short of covering error modes (deleted/protected tweets) or any auth/rate-limit requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One dense, front-loaded sentence pack: return shape first, then cost, then charging exceptions, then the cache flag. Efficient, though the stacked parentheticals ('(followers)', '(default always fresh)') make it slightly telegraphic.

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?

No output schema exists, so the enumerated return fields do real work, and the cost/caching rules round out what an agent needs before spending credits. Missing only failure-mode detail for invalid or unavailable tweets.

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%, so both url and cache are already documented in the schema, including the same 24h cache semantics the description repeats. The description adds no format or edge-case detail about the url beyond what the schema's description and format:uri already supply.

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 precise resource and scope: 'One tweet as JSON', then enumerates the returned fields (text, author, engagement counts, media, publishedAt). That clearly separates it from list-style siblings like twitter_user_tweets, 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?

Usage context is only implied by the singular 'One tweet' framing. There is no explicit when-to-use/when-not guidance or named alternative for retrieving a user's timeline or a community's tweets; the only routing advice is about the cache flag, which is parameter-level rather than tool-selection guidance.

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