Skip to main content
Glama

Groundsocial

Search posts

reddit_search_posts
Read-onlyIdempotent

Search posts across Reddit or in one subreddit.

Full-text search over posts across Reddit, or inside one community with subreddit. sort is relevance (default), new, top, comments or hot; t limits the time window. Optional filters (min_score, min_comments, is_self, match=exact, …) are applied to the page Reddit returns, so a filtered page can be shorter; keep paging with after. To find communities rather than posts use reddit_search_subreddits.

Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "q": "<q>"
    },
    "name": "reddit_search_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query.
tNoTime window for top and controversial. Default day.
sortNoResult order. Default relevance.
afterNoCursor: the previous page's `data.after`. Omit for the first page.
limitNoItems per page, 1 to 100. Default 25.
matchNoexact: keep posts whose title or text contains the query as a whole phrase (case-insensitive); any (default) is Reddit's own matching.
lockedNoKeep locked (true) or open (false) posts.
is_selfNotrue: text posts only; false: link and media posts only.
spoilerNoKeep posts with (true) or without (false) a spoiler tag.
is_videoNotrue: video posts only; false: no video posts.
stickiedNoKeep pinned (true) or unpinned (false) posts.
max_scoreNoKeep posts with at most this score.
min_scoreNoKeep posts with at least this score.
subredditNoSearch only this subreddit.
max_commentsNoKeep posts with at most this many comments.
min_commentsNoKeep posts with at least this many comments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, yet the description still adds non-obvious behavior: 2 credits per call with automatic refund on failure, public-data-only scope, and that cost_credits/credits_remaining appear in results. Crucially it discloses that filters are applied to the page Reddit returns, so a filtered page can be short and paging must continue with `after` — a trait no annotation or schema field conveys.

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 plus a cost line, front-loaded with scope and differentiated from the sibling before any parameter detail. Every sentence carries distinct information — scope, sort/filter semantics, alternative tool, cost and safety — with no repetition of schema enums.

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 16-parameter search tool with no output schema, the description covers the things the schema cannot: cost and refund behavior, the post-filtering/pagination interaction, and the fact that result payloads carry credit bookkeeping. Nothing essential for correct invocation appears 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%, so the baseline is 3, but the description adds real meaning: it enumerates the `sort` values, explains that `t` constrains the time window, cites example filters (min_score, min_comments, is_self, match=exact) and — most importantly — explains the post-fetch filtering semantics that change how results should be interpreted. It stops short of explaining `after` cursor mechanics beyond pointing at paging.

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 first line names a specific verb and resource ('Search posts') and immediately states the two scopes: across Reddit or within one subreddit via the `subreddit` parameter. It explicitly separates itself from reddit_search_subreddits for community discovery, so an agent can distinguish it without reading the schema.

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

Usage Guidelines4/5

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

It gives clear when-to-use context (full-text post search, optionally scoped to a community) and names one concrete alternative for a different intent. It does not address when a non-search listing tool (e.g. a subreddit's posts feed) would be preferable, so a small inference gap remains.

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.