Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Reddit Subreddit Post Search

reddit_subreddit_search

Search posts within a single subreddit by keyword, with sort and timeframe filters and pagination. Use it to find relevant discussions inside one community, not to discover new subreddits.

Instructions

Search posts inside one subreddit — not subreddit discovery. Same sort/timeframe as site-wide Search. Flat 2 credits. Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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

Input Schema

NameRequiredDescriptionDefault
qYesKeywords or search query (min 2 characters).
urlYesSubreddit URL, r/name, or bare name, e.g. r/technology. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
sortNorelevance (default) | new | top | hot | comments (alias: comment_count).
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 25, max 200). Flat 2 credits per call.
cursorNoPagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response.
timeframeNoFor sort=top or comments: hour | day | week | month | year | all (default all).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does real work: it discloses a flat 2-credit cost, that empty results and failures are never charged, and that the default is always-fresh unless cache=true. It does not mention auth requirements, rate limits, or what the response looks like, which keeps it out of the top band for a zero-annotation tool.

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?

Three short sentences, front-loaded with the scope constraint and its exclusion before the cost details. There is minor redundancy in 'Flat 2 credits. Costs 2 credits.', which repeats the same fact twice and is the only wasted text.

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 seven-parameter search tool with no annotations and no output schema, the description covers the two things an agent most needs to decide and call correctly: subreddit-scoped scope and credit/caching behavior. The absence of any hint about result shape or pagination behavior is a modest gap given there is no output schema to fall back on.

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 seven parameters including sort, timeframe, limit, cursor, and cache are already documented in the schema. The description's cache/credit detail largely restates what the cache property already says, adding little semantic meaning beyond the structured fields.

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 posts inside one subreddit') and immediately bounds the scope with 'not subreddit discovery', which separates it from reddit_subreddit_details and reddit_subreddit_posts. It also anchors the operation to 'same sort/timeframe as site-wide Search', so an agent can distinguish it from reddit_search without opening either 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?

The exclusion 'not subreddit discovery' is explicit, and the reference to site-wide Search tells the agent when to prefer the broader sibling. There is no explicit statement of when-not to use this tool beyond that, nor any stated prerequisites, so it falls just short of a full when/when-not treatment.

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

Deploy Server

Other Tools