Skip to main content
Glama

Weir: Reddit and X (Twitter) data

Find communities by name or topic

search_subreddits
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. Find communities by name or topic. Communities whose name or description matches the query, with member counts. Use it to find where a topic is discussed before reading or watching those communities. To search posts inside one community, use POST /v1/reddit/subreddits/{name}/search instead. Costs 1 credit + 1 credit per subreddit 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_subreddits"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo`activity` favours communities that are busy right now.relevance
limitNoMaximum number of results to return.
queryYesWords to match against community names and descriptions.
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.
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.2/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description goes well beyond them: it discloses the current hard failure and no-charge behavior, points to a status URL, states pricing (1 credit + 1 per subreddit returned), explains cursor pagination via meta.nextCursor, and reports that NSFW filtering is surfaced in meta.omittedNsfw.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core content is dense and mostly earns its place, but a lengthy, transient outage notice occupies the front of the description ahead of the actual purpose, degrading front-loading for a condition that will be stale once resolved. The remaining sentences are efficient and information-rich.

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?

With no output schema, the description does its job of covering return shape (matching communities with member counts, meta.nextCursor, meta.omittedNsfw), pricing and failure mode. It stops short of describing the full community object returned, a minor residual gap for a five-parameter search tool.

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 coverage is 100%, so sort, limit, query, cursor and includeNsfw are already fully documented, establishing the baseline of 3. The description adds only the paging mechanic (meta.nextCursor → cursor) and the per-result credit cost tied to limit, which is modest incremental value rather than new parameter semantics.

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 ('Find communities by name or topic') and immediately clarifies the match semantics (name or description) and the return payload (member counts). It also explicitly distinguishes itself from community-internal post search, so an agent can identify the right tool without opening a 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?

Gives clear when-to-use guidance ('find where a topic is discussed before reading or watching those communities'), an explicit when-not with a redirect for post-level search, and a degraded-mode alternative ('use the X tools meanwhile'). The deduction is that the alternative is cited as a raw HTTP path (`POST /v1/reddit/subreddits/{name}/search`) rather than a callable sibling tool name, which weakens routing.

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