Skip to main content
Glama

Groundsocial

List posts in a subreddit

reddit_subreddit_posts
Read-onlyIdempotent

Posts in a subreddit, by hot, new, top, rising or controversial.

Returns one page (25 by default, up to 100 with limit). sort is hot (default), new, top, rising or controversial; t sets the window for top and controversial. For the next page pass after = next_page.after from the previous result. To find posts by topic across communities use reddit_search_posts instead. "all" and "popular" work as subreddit names. Posts marked NSFW are not included (Reddit does not show them to logged-out readers), and a community that does not exist answers target_not_found.

Cost: 1 credit 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": {
      "name": "<name>"
    },
    "name": "reddit_subreddit_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
tNoTime window for top and controversial. Default day.
nameYesSubreddit name, with or without "r/". "all" and "popular" also work for posts.
sortNoListing order. Default hot.hot
afterNoCursor: the previous page's `data.after`. Omit for the first page.
limitNoItems per page, 1 to 100. Default 25.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, and the description still adds substantive context beyond them: NSFW posts are excluded because Reddit hides them from logged-out readers, nonexistent communities return target_not_found, and each call costs 1 credit with automatic refund on failure plus cost fields in the response. That is exactly the kind of operational context 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.

Conciseness4/5

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

Front-loaded with the resource and sort modes, then pagination, then alternatives, then cost/error behavior — a sensible ordering with little filler. The 'Returns one page (25 by default, up to 100 with limit)' clause partially restates the schema, and the cost sentence could be tighter, but nothing is gratuitous.

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 listing tool with no output schema, it covers selection, pagination, filtering quirks, error cases, and billing — nearly everything an agent needs. The one remaining gap is the shape of returned post objects, which is not described beyond the cost fields.

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 an extra point by wiring the parameters together logically (sort interacts with t, after comes from the previous page, limit caps at 100). However it names only 'hot, new, top, rising or controversial' for sort while the schema enum also allows 'best', and it points to next_page.after while the schema says data.after, a small mismatch that could confuse cursor usage.

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 opens with a specific verb+resource ('Posts in a subreddit') and immediately enumerates the sort modes, then explicitly contrasts itself with reddit_search_posts for cross-community topic search. An agent can pick between the two 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?

It gives explicit routing ('To find posts by topic across communities use reddit_search_posts instead'), states the sort/time-window relationship, and explains the pagination contract in terms of the prior result. It even covers the special-case subreddit names 'all' and 'popular'.

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.