Skip to main content
Glama

Reddit Posts & Comments Scraper

pomlabs/reddit-posts-comments-scraper

pomlabs--reddit-posts-comments-scraper
Destructive

This tool calls the Actor "pomlabs/reddit-posts-comments-scraper" and retrieves its output results. Actor description: Reddit posts and comments, including deleted and removed ones: who removed them, the original text when it was archived in time, and the moderators' public removal notice when there is one. Full moderator list, subreddit rules and settings, hidden profiles. No login. $0.002 per item.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pomlabs--reddit-posts-comments-scraper"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoOrder of posts read from subreddits and users (by post date). Example values: "newest"newest
dateToNoOptional. Only posts and comments created before this date (YYYY-MM-DD).
keywordNoOptional. Only posts of the subreddits above whose title or text contains these words (last 12 months unless you set a start date).
dateFromNoOptional. Only posts and comments created on or after this date (YYYY-MM-DD). Reddit history goes back to 2005.
maxItemsNoTotal posts + comments to return across all sources. You are charged per item delivered. Example values: 100
waitSecsNoMax seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget.
startUrlsNoSubreddit URLs (or r/name), post URLs and user profile URLs. Mix freely. Leave empty to only search. Example values: ["https://www.reddit.com/r/webscraping"]
reportDaysNoWindow for the top commenters and top posters of the subreddit report. On very large subreddits the window is shortened automatically and the report says which window was used. Example values: 30
searchQueryNoOptional. Searches all of Reddit by relevance (up to 25 posts per search) and returns matching posts (and their comments if enabled).
removedFilterNoEvery post and comment says whether it was removed, by whom, and if the original text and author were kept. Use this to return only one kind. Removed items are rare, so with a filter the scraper looks through up to 100x 'Maximum posts per source' newest items (max 10,000) to find them. Example values: "all"all
latestCommentsNoAlso return the newest comments of each subreddit (across all its posts) and of each user, newest first, as separate items. For users this includes comments on hidden profiles and comments that were later deleted.
includeCommentsNoAlso return the comments of each post as separate items (with depth and parent).
maxCommentDepthNoOptional. 0 = only top-level comments, 1 = plus direct replies, and so on.
includeEditedTextNoEvery item already says if it was edited (isEdited, editedAt). When the edit happened after the archive captured the item (editedAfterCapture), the text you get is the one from BEFORE the edit. Turn this on to also get the current text on Reddit (textAfterEdit), so you see what changed. Up to 200 edited items per run.
includeModeratorsNoOne extra item per subreddit (`submissionType`: `subreddit_moderators`) with Reddit's full moderator list: username, moderator since, permissions and flair. Reddit shows this list only to logged-in users; you do not need an account. Charged as one item ($0.002). Already included in the subreddit report.
includeUserReportNoOne extra item per user: karma and totals in the archive, first and last activity, the subreddits the user posted or commented in (with counts), and how many of their posts and comments were removed and by whom. Works for hidden profiles. $0.02 per report.
maxPostsPerSourceNoPosts per subreddit, user or search. Example values: 100
maxCommentsPerPostNoOptional cap on comments (top-level + replies) per post.
includeRemovalNoticeNoWhen a moderator replied to a removed post or comment with the reason (the `<subreddit>-ModTeam` message, AutoModerator or a moderator's own reply), the item carries it in `removalNoticeText`, `removalNoticeBy` and `removalNoticeAt`. No extra charge. Turn off to skip the lookup. Example values: true
includeSubredditReportNoOne extra item per subreddit: rules, settings (restricted posting, allowed post types, NSFW, quarantine, flair), post requirements (banned domains, title rules), the full moderator list, bots, wiki pages, top commenters and top posters, the share of posts and comments removed, split by who removed them, how many removals came with a moderator notice, the most used notices, and how many cite low karma or a new account. $0.02 per report.

Output Schema

NameRequiredDescriptionDefault
tipNoAdvisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key
runIdYesActor run ID
statsNoRun statistics
statusYesRun status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED
actorIdYesStable Apify Actor ID from the run record
summaryYesPast-tense summary of the run state
exitCodeNoActor process exit code; populated for terminal states (especially FAILED)
nextStepYesOne primary follow-up action with identifiers interpolated
storagesYesDataset and key-value store metadata, keyed by alias. "default" is always the primary entry.
actorNameNo"username/actor-name"
startedAtNoISO timestamp when the run started
finishedAtNoISO timestamp when the run finished (terminal states only)
statusMessageNoPass-through from Apify run.statusMessage
apifyConsoleUrlNoPersonalized Apify Console link to the run; present only for Console sessions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=true), the description discloses three genuinely useful facts: no login required, a per-item price of $0.002, and that the data includes archived originals and removal notices. It does not describe the asynchronous run lifecycle (terminal-state wait, nextStep polling) that dominates this tool's behavior, but that gap is covered in the schema and there is no contradiction with the declared annotations.

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?

Three compact sentences, front-loaded with the purpose before the capability and pricing details. The opening boilerplate ('This tool calls the Actor ... and retrieves its output results') is mildly redundant with the name, but everything after it earns its place.

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?

For a 20-parameter scraping tool with an output schema, full annotation coverage and fully described inputs, the description supplies the essentials an agent needs: what data comes back, that no credentials are needed, and the cost model. The only omission is guidance on long-running runs and polling, which the schema's waitSecs text already handles.

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% across all 20 parameters, and those descriptions are themselves detailed (costs, filtering windows, archive-before-edit semantics). The tool description adds no parameter-level meaning on top, 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?

The actor description names a concrete verb and resource combination: scraping Reddit posts and comments, including removed/deleted items with removal attribution, moderator lists, subreddit rules and hidden profiles. It is far more specific than a restatement of the name, though it never explicitly distinguishes itself from the sibling run-management tools (get-actor-run, get-dataset-items), 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 Guidelines2/5

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

The description states no conditions for choosing this tool over the alternatives or any prerequisites beyond 'No login'. An agent must infer that the sibling tools are for polling/inspecting runs and this one is for actually scraping; that routing decision is left entirely to the schema's waitSecs prose rather than the description.

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