Skip to main content
Glama

Social Media Data API: Posts, Profiles, Comments, Search and Mentions

X (Twitter) user timeline

x_posts
Read-only

X User Tweets Timeline: the latest public tweets of one X (Twitter) account by handle or x.com URL, newest first. Per tweet the text, author handle and name, verification, followers, likes, replies, retweets, views, language, reply or quote parent, time and URL in the shared social schema; next_cursor gives the next page. Bad input is free; not found or no match is not charged. Price: $0.02 per successful call, paid over x402 (USDC on Base); pass the payment in _meta["x402/payment"].

Input Schema

NameRequiredDescriptionDefault
cursorNonext_cursor of the previous page.
handleYesAn X handle (with or without @) or an x.com profile URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses pagination semantics (next_cursor gives the next page), the billing model ($0.02 per successful call via x402 USDC on Base with the payment passed in _meta["x402/payment"]), and the failure-charging policy (bad input free, not-found/empty uncharged). That is exactly the payment, cost and edge-case context the annotations cannot convey.

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?

Two sentences, front-loaded with what is returned and in what order, followed by the cost/payment note. Dense and mostly waste-free, though the long enumerated field list is heavy for a single sentence.

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?

With no output schema, the description compensates by enumerating the returned per-tweet fields, explaining pagination, and covering payment and billing edge cases. Nothing an agent needs in order to call this correctly and pay for it is missing.

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 already documented in the schema, including that handle accepts an optional @ or an x.com URL. The description restates that meaning and links next_cursor to the request's cursor field but adds no new constraints, so the baseline 3 applies.

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 a specific verb and resource: the latest public tweets of one X account, addressed by handle or x.com URL, returned newest first. That scope separates it from x_search (keyword search) and x_profile (account metadata), though it never names those siblings 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 is implied by 'one X (Twitter) account by handle or x.com URL', so an agent can infer this is a single-account timeline pull rather than a search. There is no explicit when-to-use / when-not guidance and no naming of x_search or x_profile as the alternative for other tasks.

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.

Resources