Skip to main content
Glama
Reddit MCP Server

Reddit MCP Server

by jimbolo

search_posts

Search Reddit posts by keyword across a single subreddit or all of Reddit, with sorting by relevance, hot, top or new and time filtering to narrow results.

Instructions

Search Reddit posts by keyword across one subreddit or all of Reddit. Supports sorting by relevance, hot, top, new and time filtering.

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_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort order (default: relevance)
afterNoPagination cursor from a previous response
limitNoNumber of results (1-100, default 25)
queryYesSearch query string
subredditNoSubreddit to search in (default: 'all' for global search)
time_filterNoTime filter (default: all)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states search capabilities and sort/time options, but does not mention pagination behavior via the after cursor, result limits, authentication requirements, or what the response contains.

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?

The description is two tightly written sentences with the core purpose front-loaded and no wasted wording. Every sentence contributes directly to understanding what the tool does.

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?

The rich input schema covers all parameters, but with no annotations and no output schema, the description should say more about pagination, result format, and how returned posts are structured. It is adequate for parameter selection but leaves behavioral gaps that matter for a search 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?

Schema description coverage is 100%, so all six parameters are already well documented. The description's mention of sort values and time filtering adds no meaning beyond what the schema provides, making the baseline score of 3 appropriate.

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?

The description gives a specific verb and resource ('Search Reddit posts') and states the scope ('by keyword across one subreddit or all of Reddit'). It does not explicitly differentiate itself from siblings like scan_subreddit, so the agent must infer the boundary between keyword search and subreddit scanning.

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?

The mention of searching across one subreddit or all of Reddit implies how the optional subreddit parameter should be used. However, there is no explicit guidance on when to use this tool versus alternatives such as scan_subreddit or get_post_details, and no exclusions are stated.

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