Skip to main content
Glama

Get Subreddit

get_subreddit
Read-onlyIdempotent

Get posts from a REDDIT subreddit — r/LocalLLaMA, r/python, r/news. PREFER for "what are people posting in r/", "whats new on r/ today", "top posts on Reddit this week". Sorted hot (default), new, top, rising, or controversial. For "top"/"controversial" pass a time window (day/week/month/year/all) — e.g. "top posts in r/programming this week". Returns post id, title, author, permalink, date, and a body snippet. (Vote score and comment count are not available via Reddit RSS.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNohot (default), new, top, rising, controversial.
timeNoFor sort=top/controversial: hour, day, week, month, year, all (default day).
limitNoNumber of posts (default 10, max 100).
subredditYesSubreddit name without r/ (e.g. "programming").

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
sortNo
countYes
postsYes
subredditYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changed
    • addedOutput schema / description
      Added value: +"Recent posts in a subreddit, served from Reddit RSS."
    • removedOutput schema / oneOf
      Removed value: -[
      -  {
      -    "properties": {
      -      "count": {
      -        "description": "Number of posts returned",
      -        "type": "number"
      -      },
      -      "ok": {
      -        "description": "Success flag",
      -        "enum": [
      -          true
      -        ],
      -        "type": "boolean"
      -      },
      -      "posts": {
      -        "items": {
      -          "properties": {
      -            "author": {
      -              "description": "Post author",
      -              "type": "string"
      -            },
      -            "created_utc": {
      -              "description": "Creation timestamp (UTC)",
      -              "type": "number"
      -            },
      -            "flair": {
      -              "description": "Link flair text",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "id": {
      -              "description": "Post ID",
      -              "type": "string"
      -            },
      -            "is_self": {
      -              "description": "Is self-post",
      -              "type": "boolean"
      -            },
      -            "num_comments": {
      -              "description": "Number of comments",
      -              "type": "number"
      -            },
      -            "permalink": {
      -              "description": "Full Reddit permalink",
      -              "type": "string"
      -            },
      -            "score": {
      -              "description": "Upvote score",
      -              "type": "number"
      -            },
      -            "selftext": {
      -              "description": "Self-post text content",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "subreddit": {
      -              "description": "Subreddit name",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Post title",
      -              "type": "string"
      -            },
      -            "url": {
      -              "description": "Post URL",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "title",
      -            "subreddit",
      -            "author",
      -            "score",
      -            "url",
      -            "permalink",
      -            "num_comments",
      -            "created_utc",
      -            "is_self",
      -            "selftext",
      -            "flair"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "subreddit": {
      -        "description": "Subreddit name queried",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "subreddit",
      -      "count",
      -      "posts"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "hint": {
      -        "description": "Optional hint for recovery",
      -        "type": "string"
      -      },
      -      "message": {
      -        "description": "Failure message",
      -        "type": "string"
      -      },
      -      "ok": {
      -        "description": "Failure flag",
      -        "enum": [
      -          false
      -        ],
      -        "type": "boolean"
      -      },
      -      "posts": {
      -        "description": "Empty posts array on failure",
      -        "type": "array"
      -      },
      -      "reason": {
      -        "description": "Failure reason",
      -        "enum": [
      -          "reddit_blocked",
      -          "reddit_rate_limited",
      -          "not_found"
      -        ],
      -        "type": "string"
      -      },
      -      "subreddit": {
      -        "description": "Subreddit name requested",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "subreddit",
      -      "posts",
      -      "reason",
      -      "message"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / properties
      Added value: +{
      +  "count": {
      +    "type": "number"
      +  },
      +  "ok": {
      +    "type": "boolean"
      +  },
      +  "posts": {
      +    "items": {
      +      "properties": {
      +        "author": {
      +          "description": "Username without the u/ prefix",
      +          "type": "string"
      +        },
      +        "body": {
      +          "description": "Self-text as HTML-decoded text; empty for link posts",
      +          "type": "string"
      +        },
      +        "id": {
      +          "description": "Reddit post id (base36, e.g. \"1vef79c\")",
      +          "type": "string"
      +        },
      +        "permalink": {
      +          "description": "Absolute reddit.com URL",
      +          "type": "string"
      +        },
      +        "published": {
      +          "description": "ISO-8601 timestamp",
      +          "type": "string"
      +        },
      +        "subreddit": {
      +          "description": "Null when the feed entry does not carry one (e.g. a subreddit-level result)",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "title": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "title",
      +        "author",
      +        "permalink",
      +        "published"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "sort": {
      +    "type": "string"
      +  },
      +  "subreddit": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "ok",
      +  "subreddit",
      +  "count",
      +  "posts"
      +]
  2. Changed4 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Number of posts to return (default: 10, max: 100)"New value: +"Number of posts (default 10, max 100)."
    • addedInput schema / properties / sort
      Added value: +{
      +  "description": "hot (default), new, top, rising, controversial.",
      +  "type": "string"
      +}
    • changedInput schema / properties / subreddit / description
      Previous value: -"Subreddit name without the r/ prefix (e.g. \"programming\")"New value: +"Subreddit name without r/ (e.g. \"programming\")."
    • addedInput schema / properties / time
      Added value: +{
      +  "description": "For sort=top/controversial: hour, day, week, month, year, all (default day).",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "oneOf": [
      +    {
      +      "properties": {
      +        "count": {
      +          "description": "Number of posts returned",
      +          "type": "number"
      +        },
      +        "ok": {
      +          "description": "Success flag",
      +          "enum": [
      +            true
      +          ],
      +          "type": "boolean"
      +        },
      +        "posts": {
      +          "items": {
      +            "properties": {
      +              "author": {
      +                "description": "Post author",
      +                "type": "string"
      +              },
      +              "created_utc": {
      +                "description": "Creation timestamp (UTC)",
      +                "type": "number"
      +              },
      +              "flair": {
      +                "description": "Link flair text",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "id": {
      +                "description": "Post ID",
      +                "type": "string"
      +              },
      +              "is_self": {
      +                "description": "Is self-post",
      +                "type": "boolean"
      +              },
      +              "num_comments": {
      +                "description": "Number of comments",
      +                "type": "number"
      +              },
      +              "permalink": {
      +                "description": "Full Reddit permalink",
      +                "type": "string"
      +              },
      +              "score": {
      +                "description": "Upvote score",
      +                "type": "number"
      +              },
      +              "selftext": {
      +                "description": "Self-post text content",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "subreddit": {
      +                "description": "Subreddit name",
      +                "type": "string"
      +              },
      +              "title": {
      +                "description": "Post title",
      +                "type": "string"
      +              },
      +              "url": {
      +                "description": "Post URL",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "title",
      +              "subreddit",
      +              "author",
      +              "score",
      +              "url",
      +              "permalink",
      +              "num_comments",
      +              "created_utc",
      +              "is_self",
      +              "selftext",
      +              "flair"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "subreddit": {
      +          "description": "Subreddit name queried",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "subreddit",
      +        "count",
      +        "posts"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "hint": {
      +          "description": "Optional hint for recovery",
      +          "type": "string"
      +        },
      +        "message": {
      +          "description": "Failure message",
      +          "type": "string"
      +        },
      +        "ok": {
      +          "description": "Failure flag",
      +          "enum": [
      +            false
      +          ],
      +          "type": "boolean"
      +        },
      +        "posts": {
      +          "description": "Empty posts array on failure",
      +          "type": "array"
      +        },
      +        "reason": {
      +          "description": "Failure reason",
      +          "enum": [
      +            "reddit_blocked",
      +            "reddit_rate_limited",
      +            "not_found"
      +          ],
      +          "type": "string"
      +        },
      +        "subreddit": {
      +          "description": "Subreddit name requested",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "subreddit",
      +        "posts",
      +        "reason",
      +        "message"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "subreddit": "programming"
      +  },
      +  {
      +    "limit": 25,
      +    "subreddit": "python"
      +  }
      +]
  5. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare readOnly, idempotent, non-destructive, which the description aligns with. Adds behavioral context: sort options, time window requirement, return fields, and the limitation that vote scores/comment counts are unavailable via RSS.

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?

Five sentences, front-loaded with purpose, followed by usage guidance, options, output, and limitation. No filler or redundancy.

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?

Covers core behavior, parameters' semantics, output fields, and a key limitation. With output schema present and annotations, the description is fully adequate.

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 already documents all four parameters with descriptions (100% coverage). Description adds real-world examples and clarifies that 'time' only applies to top/controversial sorts, adding value beyond schema.

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?

Clearly states 'Get posts from a REDDIT subreddit' with specific examples. Distinguishes from sibling tools like get_post by emphasizing subreddit-level queries and preference for 'what are people posting in r/<sub>'.

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?

Explicitly says 'PREFER for' with concrete query phrasings, establishing when to use this tool. It does not name alternative tools for when not to use, but the preference list is clear enough.

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.

TDQS

A3.5/5.0
Disambiguation2/5

The set has several near-duplicate tools: ask_pipeworx and ask_pipeworx_beta are explicitly designed to be identical right now, and ask_pipeworx_grounded, deep_research, and bet_research all overlap on routed data lookup. The three Reddit tools are distinct, but they are dwarfed by a large cluster of unrelated Pipeworx/Polymarket tools, making the actual purpose of the set hard to pin down.

Naming Consistency2/5

Naming conventions are wildly mixed: some tools use verb_noun (get_post, subscribe, suggest_questions), some use noun phrases (entity_profile, recent_alerts, pipeworx_trending), and some use ad-hoc names (ask_pipeworx, bet_research, scan_dependency). Within sub-families (polymarket_*, ask_pipeworx_*) names are consistent, but overall there is no single predictable pattern.

Tool Count1/5

34 tools is excessive for a server named 'Reddit' when only 3 of them (get_post, get_subreddit, search_posts) actually relate to Reddit. The remaining 31 tools cover unrelated domains like Pipeworx data routing, Polymarket betting, memory management, and npm dependency scanning—an extreme scope mismatch for the advertised server name.

Completeness1/5

The Reddit surface is severely incomplete: it offers read-only post/subreddit/search functionality with no create, edit, delete, vote, comment, or user-profile operations. Conversely, the Pipeworx tooling is over-complete relative to the 'Reddit' name, covering data lookups, prediction markets, subscriptions, and memory—none of which belong in a Reddit server.