Skip to main content
Glama

ForumDataAPI — Reddit Posts, Comments & Subreddit MCP. Zero-signup x402 USD

reddit_post_comments

Read-onlyIdempotent

Extract up to 200 flattened nested comments per call with integer depth, parent_id, author, and upvote score (no recursive MoreComments calls needed). Cost: 1 Credit ($0.0001) per returned comment.

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

Input Schema

NameRequiredDescriptionDefault
sortNoComment sort order
limitNoMax comments to return (1-200)
post_idYesReddit post ID (e.g. "1u0z4vz") or full thread URL

Output Schema

NameRequiredDescriptionDefault
codeNoStatus code (0 for success)
dataYesFlattened comment list payload and optional pagination cursor
metaNoResponse metadata including request ID, billing credits used, and cache status
statusYesResponse status ("ok" or "error")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), so the description's job is to add what those don't say — and it does: comments arrive flattened with integer depth and parent_id, capped at 200 per call, and each returned comment costs 1 Credit ($0.0001). The pricing/volume disclosure is genuinely useful context an agent can't get from annotations. It doesn't say what happens past 200 comments (truncation vs. cursor), leaving a small gap.

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?

Two dense, front-loaded sentences with no filler; capability and cost are each delivered in one clause. The field list overlaps with what the output schema likely provides, but it is compact enough not to bloat the definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description needn't explain return values, and annotations handle safety; the description fills the remaining gaps a caller cares about (flattening, 200 cap, per-comment cost). Only pagination/truncation semantics for threads beyond the limit are missing, which is minor for a 3-parameter read tool.

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% — post_id format, the sort enum values, and the 1-200 limit are all documented in the schema. The description's "up to 200" merely restates the limit maximum and adds no new parameter meaning, so the baseline 3 applies.

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?

States a specific verb and resource ("Extract ... flattened nested comments") plus the shape of the returned data (depth, parent_id, author, upvote score), which tells an agent this returns a comment tree rather than post metadata. It does not name any sibling (e.g. reddit_post_detail or reddit_user_comments) to sharpen the boundary, so it stops 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 only implied: the parenthetical "no recursive MoreComments calls needed" hints that this replaces manual recursion for a post's comment thread, but there is no explicit when-to-use, no when-not, and no named alternative for fetching a single post or a user's comment history. An agent must infer the selection conditions from the sibling names alone.

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.

Resources