Skip to main content
Glama
reddit-connector-mcp

reddit-connector-mcp

by ShellyDeng08

Get Subreddit Posts

reddit_get_subreddit_posts
Read-onlyIdempotent

Fetch posts from a specified subreddit sorted by hot, new, top, or rising, with configurable limits and JSON or Markdown output.

Instructions

Get posts from a subreddit sorted by hot, new, top, or rising.

Examples:

  • Hot posts: { "subreddit": "programming" }

  • Top posts: { "subreddit": "science", "sort": "top", "limit": 10 }

Returns: { posts: [{ title, author, score, url, permalink, selftext, num_comments, created_utc, subreddit }], count, subreddit, sort, has_more }

Errors:

  • 403: Subreddit is private or quarantined

  • 404: Subreddit does not exist

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>"
    },
    "name": "reddit_get_subreddit_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort methodhot
limitNoNumber of posts (default: 25, max: 100)
subredditYesSubreddit name (without r/ prefix)
response_formatNoResponse formatjson

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety profile is covered. The description adds real value beyond that: the exact response envelope including a has_more field and the meaning of 403 (private/quarantined) and 404 (does not exist). It omits rate limiting and pagination mechanics, which keeps it from a 5.

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?

Front-loaded one-sentence purpose followed by clearly labeled Examples, Returns and Errors blocks. Every section is terse and earns its place; nothing is repeated or padded.

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 spelling out the returned fields, count, and has_more flag, plus the two meaningful failure modes. For a read-only listing tool with four well-documented parameters, an agent has everything needed to select and call it correctly.

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%, with enums and defaults documented for sort, limit and response_format, so the schema carries most of the burden. The description's examples illustrate a sort/limit combination but add no syntax or constraint detail beyond what the schema already states.

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?

The description opens with a specific verb and resource: 'Get posts from a subreddit', and enumerates the four sort modes. The subreddit scoping implicitly separates it from reddit_get_user_posts and reddit_search_posts, though no sibling is named explicitly, which keeps it just short of 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?

Usage is shown by two concrete request examples (a default hot fetch and a top-sorted fetch with a limit), which imply how to call it. However, there is no explicit statement of when to prefer this tool over reddit_search_posts or reddit_get_user_posts, and no exclusions or prerequisites beyond the error codes.

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