Skip to main content
Glama
reddit-mcp-server

reddit-mcp-server

Get User Posts

get_user_posts
Read-only

Fetch posts submitted by a Reddit user, sorted by new, hot, or top with optional time filtering, plus pagination for browsing results.

Instructions

Get posts submitted 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 or comment counts. Returns a page of posts (title, subreddit, score, upvote ratio, comment count, permalink) plus an after cursor for paging. Use get_user_comments for their comments, or get_user_info for karma/profile stats. Do NOT use this to search a subreddit — use search_reddit or browse_subreddit.

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_posts"
  }
}

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 posts 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 posts to return"New value: +"How many posts 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 posts for"New value: +"The author's Reddit username, without the u/ prefix (e.g. 'spez')."
  2. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations by disclosing that it works without credentials via the Arctic Shift archive, that results come back newest-first, and that pagination uses an `after` cursor. However, the clause 'newest first and without scores or comment counts' conflicts with the later list of returned fields that includes 'score' and 'comment count', so the agent cannot tell whether those fields are actually populated.

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-loads purpose, then behavior, then return shape, then routing — a sensible order with no filler sentences. The only waste is the 'without scores or comment counts' phrase, which creates ambiguity rather than information and should have been resolved or dropped.

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 no output schema, the description helpfully enumerates the returned fields and the paging cursor, and it covers the auth-free/archive sourcing that matters for a public-data read. The one gap is the unresolved contradiction over whether score and comment count are returned, which leaves a real question about data reliability for an agent building on the results.

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%, with enums, defaults, bounds and per-parameter explanations already present, so the schema carries the semantics. The description only restates the sort and time_filter concepts at a high level and adds no format or interaction detail (e.g. how sort='hot' behaves against an archive) beyond 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?

States a specific verb and resource ('Get posts submitted by a specific user') plus the supported ordering modes, and explicitly separates it from get_user_comments, get_user_info, search_reddit and browse_subreddit. An agent can identify the correct tool without opening any 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?

Gives both positive routing ('Use get_user_comments for their comments, or get_user_info for karma/profile stats') and an explicit prohibition with the correct alternatives ('Do NOT use this to search a subreddit — use search_reddit or browse_subreddit'). When-to-use and when-not-to-use are both covered.

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