Skip to main content
Glama
reddit-mcp-server

reddit-mcp-server

Edit Post

edit_post
DestructiveIdempotent

Replace the body text of your own self-text Reddit post with new Markdown; overwrites the previous body and adds an edited marker. Titles and link posts cannot be changed.

Instructions

Replace the body text of one of your own self-text posts. Mutating and idempotent (same text → same result); it overwrites the previous body. Requires REDDIT_USERNAME and REDDIT_PASSWORD, and works only on self posts you authored — titles and link posts cannot be edited. Adds an "edited" marker. Use create_post to make a new post, or edit_comment for comments. WARNING: rapid edits may trigger spam detection; enable REDDIT_SAFE_MODE for protection.

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": {
      "thing_id": "<thing_id>",
      "new_text": "<new_text>"
    },
    "name": "edit_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_textYesReplacement body text; fully overwrites the current body. Reddit markdown supported.
thing_idYesThe post to edit: a full thing id 't3_<id>' or just the base36 post id '<id>' (the 't3_' prefix is added automatically). Must be a self-text post you authored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.2

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructive, idempotent, openWorld), the description discloses that the prior body is fully overwritten, that an 'edited' marker is appended, that credentials REDDIT_USERNAME/REDDIT_PASSWORD are required, and that rapid edits risk spam detection. These are exactly the side effects and environment constraints an agent needs before mutating.

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?

It is front-loaded with the core action and scope, then stacks constraints, alternatives, and the spam warning. The content density is high with little waste, though the overwrite idea is restated ('overwrites the previous body' plus 'same text → same result') in adjacent clauses.

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 two-parameter mutation tool with no output schema, the definition covers purpose, eligibility, credentials, side effects, and alternatives. Almost nothing an agent needs in order to call it correctly is missing.

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%, and the schema already documents both the t3_/base36 id format and the full-overwrite semantics of new_text. The description restates the overwrite behavior and the self-post constraint rather than adding new parameter meaning, so the baseline 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?

The first sentence gives a specific verb and resource ('Replace the body text of one of your own self-text posts') with an explicit ownership scope. It distinguishes itself from edit_comment and create_post by name, so an agent can tell which tool applies without inspecting schemas.

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?

It states when-not-to-use (titles and link posts cannot be edited) and routes to the correct alternatives: create_post for new posts and edit_comment for comments. It also flags the operational precondition (REDDIT_SAFE_MODE) that governs whether to call it at all under rapid-edit conditions.

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