Skip to main content
Glama

Groundsocial

Search comments

reddit_search_comments
Read-onlyIdempotent

Search comments across Reddit or in one subreddit: the comments themselves, with their post.

Full-text search over comments across Reddit, or in one community with subreddit. Returns the matching comments themselves (body, author, score, permalink) with their post's title, score and comment count. sort is relevance (default), new or top. Reddit operators work in q: author:name, subreddit:name, "exact phrase".

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

Input Schema

NameRequiredDescriptionDefault
qYesSearch query.
tNoTime window for top and controversial. Default day.
sortNorelevance (default), new or top.
afterNoCursor: the previous page's `data.after`. Omit for the first page.
limitNoItems per page, 1 to 100. Default 25.
subredditNoOnly this subreddit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the annotations: it discloses a concrete cost (2 credits per call, auto-refunded on failure), that only public data is returned, the exact fields returned (body, author, score, permalink plus post title/score/comment count), and that responses carry cost_credits and credits_remaining. That is exactly the kind of operational context readOnlyHint/idempotentHint cannot convey.

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 tight sections — purpose, return shape/sort, cost — with the key scope claim front-loaded. Minor redundancy between "the comments themselves, with their post" and the later "Returns the matching comments themselves," which restates the same idea.

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?

With no output schema, the description compensates by enumerating returned fields and mentioning cost fields in the response payload. Combined with a 100%-documented input schema and full annotations, an agent has everything needed to call this correctly and interpret the result.

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 baseline is 3; the description earns more by explaining that Reddit operators (author:, subreddit:, quoted phrases) are valid inside q and that sort defaults to relevance. It omits the t and after parameters, but those are fully documented in the schema.

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 ("Full-text search over comments") and scopes it explicitly to "across Reddit, or in one community with subreddit," which distinguishes it from per-post or per-user comment listings. It stops short of naming a concrete alternative tool, so the differentiation is by scope rather than by routing.

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 scope statement implies when to reach for this tool (broad comment search vs. a known post/community), and the operator note gives query-construction guidance. However, there is no explicit "use X instead when you have a post ID" exclusion, so the agent must infer the boundary from the scope wording.

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.