Skip to main content
Glama
Reddit Buddy MCP

Reddit Buddy MCP

by karanb192

search_reddit

Read-only

Search Reddit posts across all of Reddit or up to 10 specific subreddits, filtering by sort, time, flair, and author to find matching discussions with their content and metadata.

Instructions

Search for posts across Reddit or specific subreddits. Returns matching posts with content and metadata. NSFW posts are left out unless include_nsfw is true, and a search inside an NSFW subreddit returns nothing without it.

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
sortNorelevance
timeNoall
flairNo
limitNoDefault 25, range (1-100). Override ONLY IF user requests.
queryYesSearch query
authorNo
subredditsNoSubreddits to search in, max 10 (leave empty for all)
include_nsfwNoLeave unset to follow the server setting (NSFW hidden unless the server owner chose otherwise). Set true ONLY IF the user asks for NSFW content; set false to hide it. No effect on a server set to never return NSFW.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.0
    • addedInput schema / properties / include_nsfw
      Added value: +{
      +  "description": "Leave unset to follow the server setting (NSFW hidden unless the server owner chose otherwise). Set true ONLY IF the user asks for NSFW content; set false to hide it. No effect on a server set to never return NSFW.",
      +  "type": "boolean"
      +}
  2. Changed15 schema fields changedv1.1.14
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / author / description
      Removed value: -"Filter by specific username (e.g., \"spez\")"
    • removedInput schema / properties / flair / description
      Removed value: -"Filter by post flair/tag (e.g., \"Discussion\", \"News\")"
    • addedInput schema / properties / limit / default
      Added value: +25
    • changedInput schema / properties / limit / description
      Previous value: -"Number of results (1-100, default: 25)"New value: +"Default 25, range (1-100). Override ONLY IF user requests."
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / query / description
      Previous value: -"Search terms (e.g., \"machine learning\", \"climate change\")"New value: +"Search query"
    • addedInput schema / properties / sort / default
      Added value: +"relevance"
    • removedInput schema / properties / sort / description
      Removed value: -"Result ordering: \"relevance\" (best match), \"hot\", \"top\", \"new\", \"comments\" (most discussed)"
    • changedInput schema / properties / subreddits / description
      Previous value: -"List of subreddits to search in. Leave empty to search all of Reddit (e.g., [\"science\", \"technology\"])"New value: +"Subreddits to search in, max 10 (leave empty for all)"
    • addedInput schema / properties / subreddits / items / description
      Added value: +"Subreddit name without r/ prefix"
    • addedInput schema / properties / subreddits / maxItems
      Added value: +10
    • addedInput schema / properties / time / default
      Added value: +"all"
    • removedInput schema / properties / time / description
      Removed value: -"Time range filter: \"hour\", \"day\", \"week\", \"month\", \"year\", \"all\""
  3. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, but the description discloses non-obvious filtering behavior: NSFW posts are silently omitted by default, and an NSFW-subreddit search returns nothing without the flag. That is exactly the kind of invisible-result caveat an agent needs to avoid misreading empty results, though rate limits and pagination are unmentioned.

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?

Three short sentences, front-loaded with purpose, then return content, then the behavioral caveat. No filler or restated title, and each sentence conveys distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter read-only search with no output schema, the description covers purpose, return shape, and the NSFW trap adequately, but says nothing about how sort, time, flair, or author shape results. That leaves meaningful gaps for a moderately complex query tool.

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?

At 50% schema coverage the description adds some meaning by mapping 'specific subreddits' to the subreddits parameter and restating the NSFW flag semantics. The sort, time, flair, and author parameters carry no explanation in either the schema or the description, so it only partially compensates.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Search for posts across Reddit or specific subreddits') plus the return shape ('posts with content and metadata'). It does not explicitly distinguish itself from siblings like browse_subreddit or find_subreddits, but the search framing is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives conditional guidance for include_nsfw and implies that leaving subreddits empty searches all of Reddit, which tells the agent how to scope calls. It never states when to prefer this over browse_subreddit or get_post_details, so sibling routing is left to inference.

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