Skip to main content
Glama
reddit-marketing

reddit-marketing

by whyujjwal

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RMA_DATA_DIRNoWhere the config and SQLite database live.~/.reddit-marketing-agent
REDDIT_PASSWORDNoReddit password for login/posting, enabling oauth-user mode.
REDDIT_USERNAMENoReddit username for login/posting, enabling oauth-user mode when combined with password or refresh token.
REDDIT_CLIENT_IDNoReddit API app client ID. Along with REDDIT_CLIENT_SECRET, enables oauth-app mode.
REDDIT_USER_AGENTNoOverride the Reddit user agent. Default: python:reddit-marketing-agent:v0.1.0 (by /u/<you>)
RMA_APPROVAL_MODENoApproval mode. chat: approve in Claude. terminal: drafts must be approved with reddit-marketing-agent approve <id>.chat
RMA_MAX_RATE_WAITNoLongest the agent will wait on a Reddit rate limit within one call.45
RMA_MAX_PROMO_RATIONoWarn when promotional share of logged activity exceeds this ratio.0.10
RMA_POSTING_ENABLEDNoMust be true before anything can be published.false
REDDIT_CLIENT_SECRETNoReddit API app client secret. Along with REDDIT_CLIENT_ID, enables oauth-app mode.
REDDIT_REFRESH_TOKENNoReddit refresh token. Use instead of a password if the account has 2FA.
RMA_MAX_ACTIONS_PER_DAYNoPosts + comments per rolling 24h.5
RMA_SUBREDDIT_COOLDOWN_HOURSNoMinimum gap between promotional items in the same subreddit, in hours.72
RMA_MIN_MINUTES_BETWEEN_ACTIONSNoMinimum gap between publishes in minutes.10

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

You are operating a Reddit marketing agent for the user. Reddit communities punish spam, so this toolset is built for earned attention: be genuinely useful in conversations where the user's product is relevant, and be honest about affiliation.

Workflow: reddit_status -> save_campaign -> find_opportunities / track_mentions -> read_thread -> draft_reply / draft_post -> show the user the exact draft -> publish_draft(confirm=true) only after the user explicitly approves that specific draft in chat.

Rules you must follow:

  • Never publish without the user's explicit approval of the exact text. Never set confirm=true on your own initiative.

  • Always disclose affiliation when mentioning the product ("I built X", "I work on X").

  • Most replies should help without mentioning the product at all (aim for 9 helpful : 1 promo).

  • Respect each subreddit's self-promotion rules (subreddit_profile) and never try to evade removals, bans, rate limits, or the guardrail checks. Don't suggest alternate accounts or vote manipulation.

  • Write like a real community member: specific, plain, no marketing hype, no copy-paste. Read the resource reddit-marketing://playbook for the full playbook.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
reddit_statusA

Show the connection mode, what's possible in it, posting limits and today's usage, and (when logged in) account karma/age. Call this first in a session.

find_subredditsB

Discover communities about a topic, with subscriber counts when available.

subreddit_profileA

A subreddit's description, size, full rules, and how it treats self-promotion (banned / restricted / unclear). Check this before drafting anything for a community.

subreddit_insightsA

What works in a subreddit, from the past month's top posts: best posting hours (UTC) and days, text vs link share, question-title share, common flairs, typical scores.

browse_subredditB

List posts in a subreddit, to get a feel for the community before joining in.

search_redditC

Search Reddit posts.

read_threadA

Read a post and its comments. Always read a thread before drafting a reply to it.

find_opportunitiesA

Find recent threads where someone is asking for help, recommendations or alternatives in the product's space, ranked 0-100 with reasons and cautions (locked, promo-banned, buried).

track_mentionsB

Find posts that mention the brand (or competitors). Remembers what it has shown you, so repeated calls return only new mentions.

save_campaignA

Create or update a campaign (matched by name). Campaigns hold the product context that opportunity search, mention tracking and draft checks use.

list_campaignsA

List saved campaigns with their full settings.

draft_replyA

Save a reply to the review queue and run guardrail checks (disclosure, subreddit promo rules, spam signals, duplicates). Nothing is posted.

draft_postA

Save a new post to the review queue and run guardrail checks. Nothing is posted.

list_draftsB

List drafts in the review queue with their check results.

revise_draftB

Edit a draft and re-run the checks. Editing resets any approval.

discard_draftC

Discard a draft.

publish_draftA

Publish a draft to Reddit. Without confirm=true it returns a final preview and changes nothing. Re-checks the thread state, daily limits, pacing and per-subreddit cooldowns, and refuses if any blocking check fails.

log_manual_postA

Record that the user posted a draft by hand, so pacing limits and reports include it.

performance_reportB

How published posts and replies are doing: scores, replies, removals, by subreddit.

check_inboxC

Replies to your posts/comments and direct messages, so you can keep conversations going. Needs a logged-in account.

Prompts

Interactive templates invoked by user choice

NameDescription
setup_campaignInterview me about a product and save a campaign for it.
daily_scoutFind today's best conversations and draft replies for my review.
weekly_reportSummarise how the campaign did and what to do next week.

Resources

Contextual data attached and managed by the client

NameDescription
playbookHow to market on Reddit without getting banned: principles, reply patterns, and the agent's workflow.

TDQS

B3.2/5.0

Scored across 20 tools

Disambiguation4/5

Most tools have crisp, distinct purposes: discovery (find_subreddits, search_reddit, browse_subreddit), research (subreddit_profile, subreddit_insights, read_thread), and a clear draft-review-publish lifecycle. The main friction points are the three subreddit-scoped tools and the four discovery tools (search_reddit, browse_subreddit, find_opportunities, track_mentions), which overlap in 'find posts' territory, though descriptions do enough to separate them (rules check vs top-post stats vs listing vs ranked opportunity search).

Naming Consistency4/5

Dominant convention is snake_case verb_noun (list_campaigns, find_subreddits, draft_reply, publish_draft), and the draft lifecycle uses a consistent draft_* resource prefix. Minor deviations are noun-first read tools like subreddit_profile, subreddit_insights, performance_report and reddit_status, plus 'check_inbox' instead of list_*.

Tool Count4/5

20 tools is on the heavy side, but the domain genuinely spans discovery, subreddit research, campaign context, drafting with guardrails, a review queue, publishing with limits, and monitoring. Each tool covers a distinct stage of that pipeline rather than being redundant, so only a slight trim would be warranted.

Completeness4/5

Full lifecycle coverage from discovery through drafting, review, publish, and performance tracking, plus pacing limits and inbox monitoring. Gaps are modest: no campaign delete, no scheduled posting, and check_inbox surfaces replies/DMs but there is no direct tool to respond to an inbox item or comment thread outside the draft-to-thread flow.