Skip to main content
Glama
reddit-mcp-server

reddit-mcp-server

Get User Comments

get_user_comments
Read-only

Fetch comments posted by a specific Reddit user, with sorting, time filters, and cursor pagination for reviewing their activity.

Instructions

Get comments made by a specific user, with sort (new/hot/top) and time filter. Read-only; works without credentials via the Arctic Shift archive, newest first and without scores. Returns a page of comments (subreddit, parent post title, body excerpt, score, permalink) plus an after cursor. Use get_user_posts for their submissions, or get_user_info for karma/profile stats. Do NOT use this to read one post's thread — use get_post_comments.

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": {
      "username": "<username>"
    },
    "name": "get_user_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoOrdering: 'new' (most recent), 'hot' (currently active), or 'top' (highest score within `time_filter`). Default 'new'.new
afterNoForward pagination cursor: the `after` value from a previous call. Omit for the first page.
limitNoHow many comments to return, 1–100 (default 10).
usernameYesThe author's Reddit username, without the u/ prefix (e.g. 'spez').
time_filterNoTime window for scoring; only applies when sort='top'. Ignored for 'new'/'hot'. Default 'all'.all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv2.0.2
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / after
      Added value: +{
      +  "description": "Forward pagination cursor: the `after` value from a previous call. Omit for the first page.",
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of comments to return"New value: +"How many comments to return, 1–100 (default 10)."
    • changedInput schema / properties / sort / description
      Previous value: -"Sort order: new, hot, top, controversial"New value: +"Ordering: 'new' (most recent), 'hot' (currently active), or 'top' (highest score within `time_filter`). Default 'new'."
    • changedInput schema / properties / sort / enum
      Previous value: -[
      -  "new",
      -  "hot",
      -  "top",
      -  "controversial"
      -]New value: +[
      +  "new",
      +  "hot",
      +  "top"
      +]
    • changedInput schema / properties / time_filter / description
      Previous value: -"Time filter for top/controversial: hour, day, week, month, year, all"New value: +"Time window for scoring; only applies when sort='top'. Ignored for 'new'/'hot'. Default 'all'."
    • changedInput schema / properties / username / description
      Previous value: -"The username to get comments for"New value: +"The author's Reddit username, without the u/ prefix (e.g. 'spez')."
  2. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely new context — no credentials required via the Arctic Shift archive, and that this path returns newest first and without scores, which affects how the sort parameter behaves in practice. It also names the returned fields and the `after` cursor, useful given there is no output schema. Minor penalty for leaving the tension between sort=hot/top and 'newest first, without scores' unresolved.

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?

Three sentences, front-loaded with the core action and scope, then the behavioral caveat, then the sibling routing. Every clause carries information; nothing is filler.

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 read-only list tool with no output schema, the description covers return contents, pagination via `after`, authentication behavior, and alternative tools. An agent has everything needed to call it correctly and to know when not to.

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%, so all five parameters (including enum meanings for sort and time_filter and the cursor semantics) are already documented in the schema. The description's parameter-related content largely restates sort and time filtering; its only added meaning is the archive-path caveat about newest-first and missing scores. Baseline 3 applies when the schema does the heavy lifting.

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 ('Get comments made by a specific user') with scope modifiers (sort, time filter). The closing sentences name exactly which sibling handles submissions, profile stats, and single-post threads, so it is distinguishable without opening any other schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit positive routing to get_user_posts and get_user_info, plus an explicit exclusion ('Do NOT use this to read one post's thread — use get_post_comments'). Both when-to-use and when-not-to-use are covered with named alternatives.

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