Skip to main content
Glama
reddit-mcp-server

reddit-mcp-server

Create Post

create_post

Publishes a new text or link post to a subreddit, returning its ID and URL. Use after checking subreddit rules and flairs to avoid removals.

Instructions

Create a new text or link post in a subreddit. Mutating and NOT idempotent — each call publishes a separate post. Requires REDDIT_USERNAME and REDDIT_PASSWORD; fails without them. Returns the new post's id and URL. Check get_subreddit_rules and get_post_flairs first, since many subreddits require a flair or reject certain content. WARNING: rapid posting or duplicate content may trigger Reddit's spam detection and account bans — enable REDDIT_SAFE_MODE=standard for rate limiting and duplicate detection.

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": {
      "subreddit": "<subreddit>",
      "title": "<title>",
      "content": "<content>"
    },
    "name": "create_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesPost title (cannot be edited after creation).
contentYesFor a self post (is_self=true): the body text, Reddit markdown supported. For a link post (is_self=false): the destination URL.
is_selfNotrue = text/self post using `content` as the body (default); false = link post using `content` as the URL.
flair_idNoLink flair template id from get_post_flairs; many subreddits require one or the post is auto-removed.
subredditYesTarget subreddit, without the r/ prefix (e.g. 'test').
flair_textNoCustom flair text, allowed only for flairs whose template is text-editable.

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"
    • changedInput schema / properties / content / description
      Previous value: -"Content of the post (text for self posts, URL for link posts)"New value: +"For a self post (is_self=true): the body text, Reddit markdown supported. For a link post (is_self=false): the destination URL."
    • addedInput schema / properties / flair_id
      Added value: +{
      +  "description": "Link flair template id from get_post_flairs; many subreddits require one or the post is auto-removed.",
      +  "type": "string"
      +}
    • addedInput schema / properties / flair_text
      Added value: +{
      +  "description": "Custom flair text, allowed only for flairs whose template is text-editable.",
      +  "type": "string"
      +}
    • changedInput schema / properties / is_self / description
      Previous value: -"Whether this is a self (text) post (true) or link post (false)"New value: +"true = text/self post using `content` as the body (default); false = link post using `content` as the URL."
    • changedInput schema / properties / subreddit / description
      Previous value: -"Name of the subreddit to post in"New value: +"Target subreddit, without the r/ prefix (e.g. 'test')."
    • changedInput schema / properties / title / description
      Previous value: -"Title of the post"New value: +"Post title (cannot be edited after creation)."
  2. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations: explains that each call publishes a separate post (concretizing idempotentHint=false), names the required environment variables, discloses the return values, and warns about spam detection and account bans plus the REDDIT_SAFE_MODE mitigation. This is exactly the kind of consequence-level detail annotations cannot carry.

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 the operation, then escalation order (mutation warning, auth, return, prerequisites, rate-limit risk) is logical with no filler. The final warning sentence is long and slightly stacked, but every clause carries distinct operational value.

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?

There is no output schema, and the description compensates by naming what comes back (the new post's id and URL). Combined with auth requirements, rate-limit behavior, and prerequisite tool calls, an agent has everything needed to invoke it correctly, though the default subreddit-post visibility/timing after creation is unaddressed.

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 coverage is 100%, so every parameter's meaning is already documented in the schema, including the is_self/content interaction and flair_id sourcing. The description reinforces the flair prerequisite but adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 ("Create a new text or link post in a subreddit") and immediately disambiguates the two modes the tool supports. An agent can distinguish this from edit_post or reply_to_post 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 an explicit prerequisite workflow ("Check get_subreddit_rules and get_post_flairs first, since many subreddits require a flair or reject certain content") naming the exact sibling tools to call beforehand. It also states a hard failure condition (missing credentials) and a risk condition, leaving little to inference.

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