Skip to main content
Glama

reddit_search

Search Reddit posts across all of Reddit or within one subreddit, filtered by sort order and time range. Returns matching post IDs, titles, and permalinks for research and content discovery.

Instructions

Search Reddit (or one subreddit) and return matching posts.

Uses the rendered search results page, since Reddit's search JSON endpoint was observed gated in testing even for browser sessions.

Args: query: Search query. subreddit: Restrict search to this subreddit (omit for all of Reddit). sort: relevance, new, top, comments. time_filter: hour, day, week, month, year, all. limit: Max results (1-25).

Returns: Matching posts: id, subreddit, title, permalink.

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

Input Schema

NameRequiredDescriptionDefault
sortNorelevance
limitNo
queryYes
subredditNo
time_filterNoall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure, and it does add real context: search results are scraped from the rendered page because the JSON endpoint was gated in testing, which tells the agent to expect possible fragility. It does not mention authentication, rate limiting, or empty-result behavior, so the safety/limits picture stays incomplete.

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 purpose, then Args/Returns blocks that are easy to scan; nearly every line carries information. The sentence explaining the rendered-page workaround is slightly verbose for its value but still justifies itself as behavioral context.

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 search tool with five simple flat parameters and no output schema, the description covers purpose, parameter domains, and the shape of the returned posts (id, subreddit, title, permalink). Missing only ancillary details like result ordering and failure modes.

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 description coverage is 0% and the schema has no enums, so the description does the heavy lifting: it enumerates the valid values for 'sort' (relevance, new, top, comments) and 'time_filter' (hour/day/week/month/year/all) and states the 'limit' range of 1-25. Those constraints exist nowhere else in the structured data, which is a genuine value add.

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 Reddit ... and return matching posts') and scopes it ('or one subreddit'). It does not explicitly contrast itself with the closest sibling, reddit_list_posts, so an agent must infer whether listing a subreddit's posts is done here or there.

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 one concrete usage instruction: omit 'subreddit' to search all of Reddit. Beyond that there is no guidance on when to choose this over reddit_list_posts or when to follow up with reddit_get_thread, so usage is only implied.

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