Skip to main content
Glama
reddit-mcp-server

reddit-mcp-server

Search Reddit

search_reddit
Read-only

Find Reddit posts by keyword, or locate subreddits and users, with optional subreddit scoping, sorting, time filters, and pagination.

Instructions

Search Reddit for posts — or subreddits/users via type — optionally scoped to one subreddit, with sort and time filters. Read-only. Without credentials it uses the Arctic Shift archive, which needs subreddit for post search, matches subreddit names by prefix, cannot search users, and omits scores and comment counts. Returns a page of results (title, subreddit, author, score, comments, link) plus an after cursor for paging. Use this to find content by keyword; use browse_subreddit / get_top_posts to list a known subreddit's feed instead.

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": {
      "query": "<query>"
    },
    "name": "search_reddit"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort order. Prefer 'relevance' (default) for finding posts about a topic. Use 'top'/'hot' only for what's currently popular and 'new' for the latest — these rank by karma/recency and, especially combined with a narrow time_filter, can surface loosely-matching posts over the best topical results.relevance
typeNoWhat to search for: 'link' = posts (default), 'sr' = subreddits, 'user' = users.link
afterNoForward pagination cursor: the `after` value from a previous call. Omit for the first page.
limitNoHow many results to return, 1–100 (default 10).
queryYesSearch terms; supports Reddit operators (quotes for exact phrases, author:name, self:yes). Must be non-empty.
subredditNoRestrict results to this subreddit, without the r/ prefix (e.g. 'python'). Omit to search all of Reddit.
time_filterNoRestrict to results from this recent window (e.g. 'week'). Default 'all' (no time limit).all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv2.0.2
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / after
      Added value: +{
      +  "description": "Forward pagination cursor: the `after` value from a previous call. Omit for the first page.",
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of results to return"New value: +"How many results to return, 1–100 (default 10)."
    • changedInput schema / properties / query / description
      Previous value: -"The search query"New value: +"Search terms; supports Reddit operators (quotes for exact phrases, author:name, self:yes). Must be non-empty."
    • changedInput schema / properties / sort / description
      Previous value: -"Sort order: relevance, hot, top, new, comments"New value: +"Sort order. Prefer 'relevance' (default) for finding posts about a topic. Use 'top'/'hot' only for what's currently popular and 'new' for the latest — these rank by karma/recency and, especially combined with a narrow time_filter, can surface loosely-matching posts over the best topical results."
    • changedInput schema / properties / subreddit / description
      Previous value: -"Search within a specific subreddit (optional)"New value: +"Restrict results to this subreddit, without the r/ prefix (e.g. 'python'). Omit to search all of Reddit."
    • changedInput schema / properties / time_filter / description
      Previous value: -"Time filter: hour, day, week, month, year, all"New value: +"Restrict to results from this recent window (e.g. 'week'). Default 'all' (no time limit)."
    • changedInput schema / properties / type / description
      Previous value: -"Type of content: link (posts), sr (subreddits), user (users)"New value: +"What to search for: 'link' = posts (default), 'sr' = subreddits, 'user' = users."
  2. First observedv1.0.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial context beyond them — the unauthenticated fallback to the Arctic Shift archive and its concrete limitations (subreddit required for post search, prefix-only subreddit matching, no user search, missing scores/comment counts). It also discloses the return shape and the `after` paging cursor, which matters because there is no output schema. The only gap is that it does not say what changes when credentials are present.

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?

Front-loads the capability and scope, then the operational caveat, then the return shape, then the sibling routing. Every clause carries distinct information; there is no restatement of the name or title.

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?

Compensates for the absent output schema by enumerating the returned fields and the paging cursor, and covers the credential-dependent divergence that would otherwise cause silent failures. For a seven-parameter search tool this leaves nothing an agent needs missing.

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% and the schema descriptions are already rich, so the baseline is 3. The description still adds meaning the schema does not carry: the `type` values map to subreddits/users, and the archive mode imposes an extra requirement that `subreddit` be supplied for post search — a constraint absent from the `subreddit` parameter's own 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?

States a specific verb and resource (search Reddit for posts), covers the `type` variants (subreddits/users), and names the scope and filters. An agent can distinguish it from browse_subreddit and get_top_posts without opening any 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?

Ends with explicit routing: 'Use this to find content by keyword; use browse_subreddit / get_top_posts to list a known subreddit's feed instead.' It also gives the precondition that determines which backend handles the call, which is a usage condition rather than just a behaviour note.

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