Skip to main content
Glama
TweetAPI MCP

TweetAPI MCP

Official

Get Tweet Details By IDs

tweetapi_tweet_details_by_ids
Read-onlyIdempotent

Fetch details for up to 200 public posts by ID or link in one call, excluding replies and listing any missing posts.

Instructions

Fetch details for up to 200 tweets in one call by post ID or post link. No replies are included. Missing posts are listed in completeness.notReturned. Read-only. Needs a TweetAPI API key and makes one TweetAPI request per call, usually costing 1 unit; each result includes a cost estimate.

Input Schema

NameRequiredDescriptionDefault
idsYesUp to 200 numeric post IDs or post links, as a comma-separated string or an array.
responseFormatNofull (default) returns TweetAPI's JSON unchanged. compact keeps full post text, IDs, links, original dates, counts, and cursors but drops bulky fields; output.fieldsOmitted lists what was dropped.

Output Schema

NameRequiredDescriptionDefault
costYes
modeYes
toolYes
noticeYes
outputYes
resultYes
endpointYes
usageDocsNo
paginationNoPagination exactly as TweetAPI returned it.
statusCodeYes
retrievedAtYesWhen the MCP server received this response (ISO 8601). Not the post or profile date, and not a promise that X's data was fresh at that moment.
completenessYes
resolvedInputNoIdentifiers the MCP server parsed from links or @handles before calling TweetAPI.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it names the exact place incomplete results surface (completeness.notReturned), states the auth requirement (TweetAPI API key), and gives request/cost behavior (one request per call, ~1 unit, per-result cost estimate). That is precisely the operational detail structured fields cannot carry.

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?

Four short sentences, front-loaded with the capability and limit before caveats. The only dead weight is 'Read-only.', which merely restates readOnlyHint and earns no new information for the agent.

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

Completeness5/5

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

For a two-parameter read tool with an output schema and full annotations, everything an agent needs to call it correctly is present: input forms, batch ceiling, what is excluded, how partial results are reported, and the cost/auth profile.

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% and both parameters are documented there in detail, so the baseline is 3. The description only restates the ID-or-link input and the 200 cap and says nothing about the responseFormat trade-off, which the schema already explains.

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?

States a specific verb and resource with scope: fetch details for up to 200 tweets by post ID or post link. The batching limit implicitly separates it from the singular tweetapi_tweet_details, but no sibling is named explicitly, so the differentiation is inferred rather than stated.

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?

The batch size and 'No replies are included' exclusion imply the use case (bulk hydrate known IDs, not conversation retrieval), but the description never says when to prefer tweetapi_tweet_details or tweetapi_search, nor states prerequisites for obtaining the IDs.

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