Skip to main content
Glama

reddit_subreddit_posts

Read-only

Read any subreddit's feed by sort order: hot, new, top, rising, or controversial. Returns post titles, scores, comment counts, and a pagination cursor for browsing more.

Instructions

List posts from a subreddit by sort order. Use this to read a community's feed: newest, hot/trending, top-of-week, rising, etc. Returns post title, author, score, comment count, and permalink, plus an after cursor for paging. Example: subreddit='programming' sort='top' t='week'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tNoTime window, only applied when sort is 'top' or 'controversial'. E.g. 'week' = top of the past week. Ignored for other sorts.
sortNoSort order for a subreddit listing. 'hot' = trending now, 'new' = most recent (default), 'top' = highest score in the `t` window, 'rising' = gaining fast, 'controversial' = polarizing, 'best' = Reddit's blended rank.
afterNoOpaque Reddit pagination cursor from the previous response's `after` field (a fullname like `t3_abc123`). Omit on the first call; pass it to fetch the next page.
limitNoMax items to return (1 to 100). The API clamps out-of-range values; endpoint default applies if omitted.
subredditYesSubreddit name WITHOUT the r/ prefix (e.g. 'programming', 'AskReddit'). Required.
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds behavioral detail about output fields and pagination ('plus an `after` cursor for paging'), which is beyond what annotations provide. No contradictions.

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?

Four sentences, front-loaded with the primary purpose, no redundant words. Every sentence adds value: purpose, usage, return values, and an example. Highly concise.

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 5-parameter read-only list tool with no output schema, the description covers purpose, usage, return fields, pagination cursor, and provides an example. The annotations cover safety. This is fully sufficient for an agent to select and invoke the tool.

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?

Input schema has 100% description coverage for all 5 parameters, so the baseline is 3. The description adds an example ('subreddit=programming sort=top t=week') that clarifies how the parameters combine, and clarifies the `t` parameter's role (only for 'top'/'controversial') is already in schema, but the example adds value. Thus a 4 is appropriate.

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?

The description uses a specific verb phrase 'List posts from a subreddit by sort order' and clearly identifies the resource and action. It distinguishes from sibling search/comment tools by framing this as reading a community's feed. The mention of return fields (title, author, score) adds further specificity.

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?

The description explicitly states 'Use this to read a community's feed' with sort options (newest, hot/trending, top-of-week, rising), providing clear context for when to invoke. It does not name alternative tools or exclusions, so it stops short of a full 5, but the usage context is unambiguous.

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/redditapis/redditapis-mcp'

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