Skip to main content
Glama
bestnite

reddit-readonly-mcp

by bestnite

Get Post Comments

get_post_comments
Read-only

Retrieve a Reddit post's comment tree with configurable sort, depth, and limit; returns nested replies and 'more' stubs for read-only thread browsing.

Instructions

The comment tree of a post. Returns {"post": {...}, "data": [comments with nested "replies"], "more": [stubs], "after": null}. Collapsed branches are listed in "more" (parent_id, count, children ids) and counted on the parent comment as "more_replies". These "more" stubs CANNOT be expanded by this server: Reddit answers /api/morechildren with HTTP 403 for anonymous tokens, so do not expect a follow-up call to retrieve them. To see more of a thread, call get_post_comments again with a larger limit/depth or a different sort. Read-only, anonymous.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoComment ordering: confidence/best (default), top, new, controversial, old, qa.confidence
depthNoMaximum reply nesting depth to return, 1-10 (default 5). Deeper replies become 'more' stubs.
limitNoMaximum number of comments Reddit should return, 1-500 (default 100).
post_idYesPost id: base36 id ('1abc23'), fullname ('t3_1abc23'), or a full reddit.com permalink URL.
subredditNoOptional. Subreddit name without the r/ prefix (e.g. 'LocalLLaMA'). 'r/LocalLLaMA' is also accepted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint by disclosing that 'more' stubs cannot be expanded (Reddit returns HTTP 403 for anonymous tokens), that no follow-up call will recover them, and that access is read-only/anonymous. This is exactly the kind of operational caveat annotations cannot express.

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?

Front-loaded with the return shape, then the critical 403 limitation, then the recovery action. The embedded return-shape snippet is dense but earns its place given there is no output schema. Minor density cost from the JSON-ish notation.

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 fully by describing the response envelope (post/data/more/after), the meaning of 'more' and 'more_replies', the auth model, and the 403 dead end. An agent has everything needed to call it and interpret the result.

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 description coverage is 100%, so the baseline is 3, but the description adds real meaning: it ties limit/depth/sort to observable outcomes ('Deeper replies become more stubs', 'larger limit/depth or a different sort' to see more of a thread). That causal link between parameters and result shape is not in the 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?

Opens with a precise resource statement, 'The comment tree of a post,' which is unmistakably distinct from siblings like get_reddit_post (the post itself) and get_user_comments (a user's comment history). An agent can select this tool without opening the 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?

Explicitly tells the agent what to do when it wants deeper coverage: 'call get_post_comments again with a larger limit/depth or a different sort.' It lacks when-not-to-use guidance or direct naming of competing siblings, but the re-invocation rule is clear and actionable.

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