Skip to main content
Glama
TwitterAPIs

twitterapis

twitter_list_tweets

Read-only

Fetch posts from a public Twitter/X List with optional date and reply inclusion filters. Use it to read List member posts newest first, without retweets, and paginate via cursor.

Instructions

Read the posts written by the members of a public Twitter/X List, newest first, through X's search index. This is the FILTERABLE List feed: it accepts since and until date bounds and an include_replies toggle. It does NOT return retweets, and search-index lag applies, so a post made moments ago can be missing for a short while. Use twitter_list_timeline instead when you want the List exactly as X shows it, retweets and native ordering included, and accept that it takes no filters. Paginate with cursor. The list_id appears in the X.com list URL (x.com/i/lists/).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoMax posts to return for this page. Defaults to 20 and is clamped to 1-100, so a larger number returns at most 100 rather than erroring.
sinceNoOptional. Only posts on or after this date, as YYYY-MM-DD (e.g. "2026-08-01"). Any other format is rejected with a 400.
untilNoOptional. Only posts BEFORE this date, as YYYY-MM-DD. EXCLUSIVE, matching X's own until: search operator, so a post made on the until date is not returned. Any other format is rejected with a 400.
cursorNoOpaque pagination cursor from a previous response's next_cursor field. Omit on the first call.
list_idYesNumeric Twitter/X List id. Found in the list URL: x.com/i/lists/<list_id>. The List must be public.
productNoWhich search ranking to read. 'Latest' (default) is reverse-chronological. 'Top' is X's ranked ordering. Any unrecognised value falls back to Latest rather than erroring.
include_repliesNoOptional. Whether to include replies written by List members. Pass the string "true" or "false"; defaults to true when omitted. Any other value is rejected with a 400 rather than read as false.
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description builds on this with genuinely non-obvious behavior: search-index lag causing missing recent posts, no retweets returned, and the filterable nature. This goes beyond annotations without contradicting them. A small deduction for not addressing return-format or error behavior, though pagination via cursor is mentioned.

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

Conciseness5/5

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

Five dense, front-loaded sentences, each earning its place: purpose → key filters → limitations/lag → alternative tool → pagination and ID location. No filler, no redundancy, and the critical differentiator ('FILTERABLE List feed') is bolded and appears early.

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?

For a read-only 7-param list tool with 100% schema coverage, the description covers purpose, alternates, caveats, pagination, and ID discovery. With no output schema, it might briefly note the pagination response shape, but 'Paginate with cursor' plus the rich schema largely compensate. Minor gap keeps it from a 5.

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% with exceptionally detailed parameter descriptions (clamping behavior, exclusive until semantics, 400 on bad format, string 'true'/'false' for include_replies). The description adds the 'Paginate with cursor' directive but this is also implied by the cursor schema entry. Per calibration, high coverage makes 3 the correct baseline since the schema carries the load.

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?

Uses a specific verb+resource pairing ('Read the posts written by the members of a public Twitter/X List, newest first, through X's search index') that fully specifies scope, ordering, and mechanism. Explicitly differentiates from sibling twitter_list_timeline by contrast ('Use twitter_list_timeline instead when...').

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?

Explicitly names the alternative (twitter_list_timeline) and states exactly when to choose it over this tool ('when you want the List exactly as X shows it, retweets and native ordering included'), including the tradeoff ('accept that it takes no filters'). This is textbook when-to-use-vs-alternative guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TwitterAPIs/twitterapis-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server