Skip to main content
Glama
Upload-Post

Upload-Post

Official

Read X: mentions, search, followers, lists, trends, analytics

x_read
Read-only

Reads X posts, mentions, lists, trends, followers and analytics, returning per-call billing so users can track X activity and spend through Upload-Post.

Instructions

X bills every post, user or list it returns, so mentions and reads need a paid Upload-Post plan (403 x_read_plan_required on the Free plan) and count toward a daily X spend limit of the account (429 x_daily_read_budget); each answer carries billing with what X charges. Answers are cached for a few minutes (cached: true costs nothing). mentions: posts that @mention the account (not only replies), newest first, each with the author's verified, verified_type (blue, business, government, none) and followers_count; filters verified_only, verified_type (comma-separated), min_followers and replies (include, exclude, only) apply to the limit (5-100) mentions scanned, so a page can hold fewer; page with cursor = pagination.next_cursor. Every other action is one X read (data, includes, meta are X's): search_recent (query, last 7 days; start_time, end_time, since_id, until_id, sort_order), counts_recent (query, granularity minute|hour|day), liking_users / reposted_by / quote_posts (post_id; quote_posts takes exclude), bookmarks, followers, following, owned_lists, followed_lists, pinned_lists, list / list_posts / list_members / list_followers (list_id), trends (woeid, limit 1-50), trend_locations, personalized_trends, post_analytics (ids, up to 100; start_time, end_time, granularity hourly|daily|weekly|total), media_analytics (media_keys). Page with cursor = pagination.next_cursor. liking_users, reposts_of_me (reposts of the account's posts), bookmarks, followers/following and the lists need X permissions Upload-Post asks since 2026-11-25: an X account connected before that answers 403 x_reconnect_required (with scope) until the user reconnects X once; mentions, search_recent, counts_recent, reposted_by, quote_posts, trends and the analytics work with the existing connection.

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": {
      "action": "<action>",
      "user": "<user>"
    },
    "name": "x_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesUpload-Post profile name with X connected.
actionYes
paramsNoOther API fields for this action, with the REST API's own names (snake_case) and shapes. query, post_id, list_id, woeid, ids, media_keys, limit, cursor, start_time, end_time, granularity, verified_only, verified_type, min_followers, replies... Leave out what you do not want to change.

Output Schema

NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.29.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered, yet the description adds substantial extra context: per-post billing, a daily X spend budget producing 429 x_daily_read_budget, free cached answers, and OAuth scope requirements that trigger 403 x_reconnect_required. That is exactly the kind of behavior the annotations cannot express.

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

Conciseness3/5

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

Nearly every clause carries information, but it is delivered as two enormous run-on sentences with no list or sectioning, making it hard to scan. The paging instruction 'Page with cursor = pagination.next_cursor' is repeated verbatim in both halves, which is pure waste.

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 22-action multiplexed reader with a generic params bag, the description covers billing, error codes, auth scopes, caching, filtering semantics, paging, and per-action arguments. An output schema exists, so return-shape explanation is not needed, and the mention of `billing`, `cached`, `data`/`includes`/`meta` is a bonus rather than a gap.

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?

The schema leaves `params` as a generic additionalProperties object, so the description is the only source of parameter meaning, and it supplies it: query/time-window fields for search, granularity values, post_id/list_id/woeid/ids/media_keys per action, limit ranges (5-100 mentions, 1-50 trends, up to 100 ids), and cursor = pagination.next_cursor. It also clarifies that verified/min_followers/replies filters apply to the scanned mentions rather than the returned page, a non-obvious semantic that the schema cannot convey.

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 specific verb and enumerates the resources it reads: mentions, search_recent, counts_recent, followers/following, lists, trends, post/media analytics. An agent knows exactly which X data classes this covers. It stops short of naming how it differs from the sibling manage_x_lists, leaving the read-vs-manage boundary to be inferred from the action names.

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?

Guidance is strong on conditions per action: which actions need the paid Upload-Post plan, which return 403 x_reconnect_required, and which still work on the existing connection. What is missing is explicit routing guidance such as when to use search_recent instead of counts_recent, or when to prefer this tool over a sibling analytics tool.

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