Skip to main content
Glama

reddit_get_thread

Read a full Reddit post with its nested comment tree, loading extra lazy-rendered comments before pruning. Returns post details, bounded comments, and counts of truncated or unloaded comments.

Instructions

Read a full post with a pruned comment tree.

Reddit lazily renders ~25 comments per thread page. This tool loads up to REDDIT_MCP_MAX_LOAD_MORE (default 3) additional "more comments" partials via the webapp's own lazy-load deeplinks before pruning, and reports honestly how much of the thread it could NOT load.

Args: url_or_id: Thread permalink (/r/{sub}/comments/{id}/...) or bare post id (then subreddit is required). subreddit: Required only when url_or_id is a bare post id. comment_sort: best, top, new, controversial, old. max_comments: Cap on returned comments (1-100). max_depth: Max reply nesting depth (1-10); deeper branches are stubbed with "replies_truncated" for reddit_get_more_comments. max_body_chars: Cap per comment body (100-8000).

Returns: Post details plus a bounded nested comment tree. Load accounting: total_comment_count (the post's own comment-count), total_comments_rendered (parsed from pages), truncated_comment_count (cut by the caps above), unloaded_comment_count (not loaded because Reddit renders lazily and the partial budget ran out) and more_subtree_cursors (unfetched lazy deeplinks; pass one to reddit_get_more_comments's anchor_url to continue).

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": {
      "url_or_id": "<url_or_id>"
    },
    "name": "reddit_get_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_depthNo
subredditNo
url_or_idYes
comment_sortNobest
max_commentsNo
max_body_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so well: it discloses Reddit's ~25-comment lazy rendering, the REDDIT_MCP_MAX_LOAD_MORE budget (default 3), the pruning behavior, and that truncated branches are stubbed with 'replies_truncated'. It also commits to honest reporting of what could not be loaded, which is exactly the non-obvious behavior an agent needs before trusting coverage.

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 one-line purpose, then cleanly divided into Args and Returns blocks with no filler sentences. It is longer than most definitions, but nearly every clause adds an operational fact; the env-var explanation is the only passage that could be shortened without loss.

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?

No output schema exists, so the description supplies the return contract itself, enumerating the load-accounting fields (total_comment_count, total_comments_rendered, truncated_comment_count, unloaded_comment_count, more_subtree_cursors) and how to chain the cursors onward. Nothing an agent needs to call the tool correctly or interpret its result is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and it fully does: all six parameters are documented with meaning and bounds (max_comments 1-100, max_depth 1-10, max_body_chars 100-8000, comment_sort's five values, and that subreddit is required only for a bare post id). It even explains the downstream consequence of max_depth rather than just restating it.

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 ('Read a full post with a pruned comment tree') and immediately scopes what 'full' means in practice (lazy-loaded partials, pruning). It also positions itself against reddit_get_more_comments as the continuation path, so an agent can tell the two apart 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?

The when-to-use is clear: fetch a thread when you want the post body plus a bounded comment tree, and it explicitly points to reddit_get_more_comments when there is more to load. It stops short of stating exclusions (e.g. when to prefer reddit_list_posts or reddit_search instead of a specific thread), so it falls just short of full routing guidance.

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