Skip to main content
Glama

Weir: Reddit and X (Twitter) data

Search Reddit posts

search_reddit
Read-onlyIdempotent

Unavailable right now: Reddit is refusing requests from Weir's servers, so this tool fails (without charging). Use the X tools meanwhile, and tell the user Reddit data is down; https://weirapp.io/status shows when it is back. Search public Reddit posts by keyword, optionally inside one subreddit. Good for opinions, complaints, recommendations and launch feedback. Returns posts in Reddit's own field names: title, selftext, subreddit, author, score (can be negative), numComments, permalink, url, createdAt. Reddit only: search X separately with search_x. Costs 1 credit + 3 credits per post returned. When meta.nextCursor is set, call again with cursor set to it for the next page.

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

Input Schema

NameRequiredDescriptionDefault
sortNorelevance (default), hot, top, new, or comments.relevance
timeNoTime window: hour, day, week, month, year, or all (default).all
limitNoResults to return, 1-50. Default 10; widen only after the first page proved useful.
queryYesKeywords to match. Put every filter you can in the query; you pay per result.
cursorNo`meta.nextCursor` from the previous page, unchanged. Opaque, signed, and bound to the other parameters: change any of them and start again without a cursor.
subredditNoOptional community to search inside, without r/, e.g. webdev.
subredditsNoRestrict the search to several communities at once (up to 25).
includeNsfwNoInclude results marked NSFW. Off by default; what it removes is reported in `meta.omittedNsfw`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, but the description adds context the annotations cannot carry: current service unavailability with no credit charge, a status URL, the cost model (1 credit + 3 credits per post returned), pagination via meta.nextCursor, and the meta.omittedNsfw reporting side effect. It also flags that score can be negative, which prevents misinterpretation of the returned data.

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?

Content is dense and mostly front-loaded, with cost, scope, alternatives, return shape, and pagination each earning their sentence. The one weakness is that the opening outage banner occupies the highest-salience position for what is a transient condition, pushing the actual purpose statement to the second sentence.

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 an 8-parameter search tool with no output schema, the description covers everything an agent needs: what it searches, the cost per call and per result, the pagination contract via meta.nextCursor, the exact return field names, and the current failure mode. Nothing material is left to inference.

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% and each parameter already carries a description, so the baseline is 3. The description only restates the keyword and single-subreddit scoping and the cursor continuation rule, both of which are already in the schema, and it never mentions the multi-subreddit, sort, time, limit, or includeNsfw options.

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 public Reddit posts by keyword, optionally inside one subreddit') and immediately distinguishes itself from the X tooling ('Reddit only: search X separately with search_x'). The opening outage notice is operational rather than descriptive, but the actual purpose sentence is unambiguous and an agent can differentiate it from search_subreddit or get_reddit_post.

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

Usage Guidelines5/5

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

Gives explicit use cases ('opinions, complaints, recommendations and launch feedback'), an explicit alternative ('Use the X tools meanwhile', 'search X separately with search_x'), and the current when-not condition (Reddit is refusing requests, check the status page). It also warns 'this tool fails (without charging)', so the agent knows to expect failure and not to retry blindly.

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.

Resources