Skip to main content
Glama

Read the comments under a Reddit post

reddit_post_comments
Read-only

Fetch a Reddit post's comments in flattened thread order, including author, text, upvotes, time, and links, to capture exact customer language; use the cursor to page through long threads.

Instructions

The comments of one Reddit post, flattened in thread order (a reply follows its parent; parentId and depth rebuild the tree), each with author, text, upvotes, time and link, plus the post itself. Deleted and removed comments come through as Reddit shows them. Pass the post's link (from reddit_subreddit_feed, search_reddit or a browser); cursor reads the next batch of a long thread. A goldmine for the exact words customers use. Spends about a credit per call.

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

Input Schema

NameRequiredDescriptionDefault
urlYesthe Reddit post link: https://www.reddit.com/r/<sub>/comments/<id>/…
limitNocomments returned, 1-500 (default 200)
cursorNothe more-comments token a previous call returned
get_costNotrue: return the price only; nothing runs or bills
idempotency_keyNochosen once, resent unchanged on retries: the same key never buys twice
expected_creditsNothe get_cost price; refused unbilled if the live price differs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.688

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the read-only, open-world, non-destructive profile, and the description adds real behavior: flattened ordering with parentId/depth for tree rebuild, deleted/removed comments passing through as Reddit shows them, and cost ('about a credit per call'). It stops short of stating rate limits or ordering guarantees under pagination with cursor.

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 input source, then pagination, then cost — a sensible order. The 'goldmine for the exact words customers use' sentence is mildly promotional but does convey a legitimate use case; nothing is outright wasteful.

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 six-parameter read tool with no output schema, the description covers the return contents (author, text, upvotes, time, link, plus the post itself), pagination via cursor, deletion behavior and cost. An agent has enough 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 coverage is 100%, so the baseline is 3, but the description meaningfully supplements it: it specifies the URL's origin (feed, search, or browser) and that cursor returns the next batch of a long thread. limit, get_cost, idempotency_key and expected_credits are left entirely to 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?

The opening clause names the exact resource and its shape: 'The comments of one Reddit post, flattened in thread order.' It immediately distinguishes this from reddit_subreddit_feed and search_reddit by scoping to a single post's comment tree, and it names the fields returned.

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?

It tells the agent where the required input comes from ('Pass the post's link (from reddit_subreddit_feed, search_reddit or a browser)') and when to use cursor ('reads the next batch of a long thread'). It offers a use case ('the exact words customers use') but no explicit when-not-to-use or exclusion condition.

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

Deploy Server

Other Tools