Skip to main content
Glama
reddit-mcp-server

reddit-mcp-server

Get Subreddit Rules

get_subreddit_rules
Read-only

Fetch a subreddit's posting rules before creating a post to check requirements and avoid auto-removal. Review rule names, scopes, and descriptions to verify compliance.

Instructions

Get a subreddit's posting rules (each rule's name, what it applies to, and its description). Read-only; works without credentials via the Arctic Shift archive (scores lag). Returns the rules list, or a note when the subreddit lists none. Call this before create_post to check requirements and avoid auto-removal. For available post flairs use get_post_flairs instead.

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_name": "<subreddit_name>"
    },
    "name": "get_subreddit_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
subreddit_nameYesThe subreddit name, without the r/ prefix (e.g. 'AskReddit').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.2

TDQS

A4.5/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint, it discloses credential-free access via the Arctic Shift archive, a data-freshness caveat ("scores lag"), and empty-result behavior ("a note when the subreddit lists none"). The only weakness is that "scores lag" is vague about how stale the archive is and which fields are affected.

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?

Four short sentences, front-loaded with what it returns, then the constraint, then the call-to-action, then the redirect to the sibling. No filler and nothing buried.

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 a single-parameter read-only tool with no output schema, the description covers purpose, return shape, empty-result case, auth requirements, and the recommended workflow position. Nothing an agent needs in order to call it correctly is missing.

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 the single parameter already documents the no-"r/" prefix format, so the description adds no parameter-level meaning. Baseline 3 applies when the schema carries the full burden.

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?

Specific verb+resource ("Get a subreddit's posting rules") with the returned fields enumerated (name, applies-to, description). It explicitly distinguishes itself from the sibling get_post_flairs, so an agent can separate the two 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 Guidelines5/5

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

Gives an explicit sequencing instruction — "Call this before create_post to check requirements and avoid auto-removal" — and names the alternative for a different need ("For available post flairs use get_post_flairs instead"). Both when-to-use and when-to-use-something-else are covered.

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