Skip to main content
Glama

Groundsocial

Older posts of an X account (beta)

x_user_tweets_next
Read-onlyIdempotent

The next page of an X account’s posts, from a next_token (beta).

The page after a previous x_user_tweets or x_user_tweets_next page: pass the same username and that page’s meta.next_token as after. Tokens last an hour. Beta: X changes this path more often than the others, so a page can occasionally fail (never charged).

Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "username": "<username>",
      "after": "<after>"
    },
    "name": "x_user_tweets_next"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterYesCursor: the previous page's `meta.next_token` (x_user_tweets or this endpoint).
sinceNoOnly posts on or after this time. Reaching an older post ends the walk: YYYY-MM-DD (UTC) or an ISO 8601 timestamp.
untilNoOnly posts on or before this time (a date includes that whole UTC day): YYYY-MM-DD (UTC) or an ISO 8601 timestamp.
usernameYesHandle, with or without the @, or a profile URL.
stop_at_idNoThe newest post you already hold (id or URL): the page stops just before it and there is no next page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing operational traits an agent genuinely needs: cursors expire after an hour, failure is possible because X changes this path frequently, failed calls are never charged, cost is 2 credits with automatic refund, and data is public-only. It also notes the response carries cost_credits and credits_remaining, which substitutes for the absent output schema.

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?

Front-loaded with purpose, then pagination mechanics, then cost/reliability caveats — a sensible order with no filler sentences. Minor redundancy in repeating '(beta)' from the title and in restating the cursor after the schema already defines it.

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 paginated, credit-metered, occasionally flaky beta endpoint with no output schema, the description covers everything needed: how to chain calls, token lifetime, failure and billing behavior, and where cost figures appear in the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns a bump by adding a constraint the schema does not state, namely that the same username must be reused alongside the token. Otherwise it mostly restates the cursor relationship the schema already documents.

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?

States a specific verb and resource ('the next page of an X account's posts, from a next_token') and immediately positions it relative to a sibling, making clear it continues a pagination walk rather than starting one. An agent can distinguish it from x_user_tweets without opening either schema.

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?

Gives an explicit precondition ('The page after a previous x_user_tweets or x_user_tweets_next page') and the exact mechanics for invoking it ('pass the same username and that page's meta.next_token as after'). It names the sibling that produces the first page, so the entry point into the walk is unambiguous.

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.