Skip to main content
Glama

Weir: Reddit and X (Twitter) data

List a community's posts: hot, new, rising, top, or controversial

get_subreddit_posts
Read-onlyIdempotent

Unavailable right now: Reddit is refusing requests from Weir's servers, so this tool fails (without charging). Use the X tools meanwhile, and tell the user Reddit data is down; https://weirapp.io/status shows when it is back. List a community's posts: hot, new, rising, top, or controversial. A community's own listing, with no keyword: everything new in r/saas, or this week's top posts in r/startups. Use this rather than search when the community is the filter — Reddit's search needs a query and cannot express "everything".

name also takes popular, all, or several communities joined with +, which reads them as one listing in a single call (and is billed as one request).

Pages are newest-cursor-forward and stop at about 1,000 posts, Reddit's own ceiling, where nextCursor becomes null. NSFW posts are left out unless includeNsfw=true; how many were left out is in meta.omittedNsfw. A community that does not exist, or is private, banned, or quarantined, is a 404 whose details.reason says which. Costs 1 credit + 3 credits per post returned. When meta.nextCursor is set, call again with cursor set to it for the next page.

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": "get_subreddit_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
geoNoRegion for `popular` sorted by `hot` only: a country code (`DE`), a US state (`US_CA`), or `GLOBAL`.
nameYesA community name without `r/`; `popular` or `all` for the site-wide listings; or up to 25 communities joined with `+` (`saas+startups+entrepreneur`) to read them as one listing in a single call.
sortNoReddit's own orderings. `new` is arrival order, which is what watching a community needs; `hot` is Reddit's default front page.hot
timeNoWindow for `top` and `controversial` only. Defaults to `day` for those sorts.
limitNoPosts per page, before the NSFW rule is applied.
cursorNo`meta.nextCursor` from the previous page, unchanged. Opaque, signed, and bound to the other parameters: change any of them and start again without a cursor.
includeNsfwNoInclude posts marked NSFW. Off by default; what it removes is reported in `meta.omittedNsfw`, so a short or empty page is never mistaken for a quiet one.false

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?

Annotations only declare it as a safe idempotent read; the description adds a lot beyond that: a cost model (1 credit + 3 credits per post), a ~1,000-post pagination ceiling where nextCursor becomes null, NSFW exclusion with the omitted count surfaced in meta.omittedNsfw, and the fact that a nonexistent/private/banned/quarantined community returns a 404 whose details.reason identifies which. The outage notice and the 'fails without charging' guarantee are extra operational context an agent needs before calling.

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?

Dense and front-loaded with the operational status first, then purpose, then the alternative rule, then paging and cost — each sentence carries information. The main structural cost is that the time-sensitive outage banner occupies roughly the first third of the text and will become noise once the service is restored.

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 7-parameter read tool with no output schema, the description covers everything an agent needs: when to prefer it over search, how multi-community names behave, page-size and cursor mechanics with the 1,000-post ceiling, NSFW filtering semantics, error signaling, and per-request cost.

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, and the description earns above that by explaining that name also accepts popular, all, or several communities joined with '+', read as one listing and billed as one request — a billing consequence the schema does not state. It also reinforces that the cursor is bound to the other parameters and must be restarted if any change, though that point is already in the schema description.

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 title and body both state a specific verb and resource ('List a community's posts') and enumerate the exact orderings supported (hot, new, rising, top, controversial). It goes further and frames the tool as 'a community's own listing, with no keyword', which separates it cleanly from search_subreddit.

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 an explicit decision rule against the sibling: 'Use this rather than search when the community is the filter — Reddit's search needs a query and cannot express everything.' It also names a concrete scenario per sort ('everything new in r/saas, or this week's top posts in r/startups') and redirects to the X tools during the outage.

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.

Resources