Skip to main content
Glama
reddit-search
by mattlau1

search_posts

Search post titles and text in a specified subreddit, add synonym variations, and rank the best match first to surface relevant discussions.

Instructions

Search post titles and text in one subreddit (required). Adds synonyms and ranks the best match first.

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": {
      "subreddit": "<subreddit>",
      "query": "<query>"
    },
    "name": "search_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNodesc
afterNo
limitNo
queryYes
beforeNo
subredditYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries full disclosure burden, and it does add two genuine behavioral facts: query expansion via synonyms and relevance-ranked results with the best match first. Missing are pagination behavior for after/before/limit, ordering semantics of sort, and any auth or rate-limit context.

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?

Two tight sentences, front-loaded with the scope constraint and followed by the ranking behavior. No filler or redundancy.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but a six-parameter read tool with zero schema documentation and no annotations needs more than this. Pagination controls and sort semantics are entirely unexplained, which is a real gap for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across six parameters, so the description must compensate. It only clarifies two of them (subreddit is required, query matches titles and text) and says nothing about sort, after, before, or limit, leaving the agent to guess at values and direction.

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?

Names a specific verb and resource: 'Search post titles and text in one subreddit'. That is enough for an agent to tell it apart from search_comments and find_subreddits by resource type. It stops short of explicitly differentiating itself from those siblings, so not a 5.

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 parenthetical '(required)' conveys that a subreddit scope is mandatory, which implicitly frames when the tool applies. There is no statement of when to prefer search_comments, find_subreddits, or get_thread, and no exclusions or prerequisites beyond the required scope.

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