Skip to main content
Glama
reddit-mcp-server

reddit-mcp-server

Edit Comment

edit_comment
DestructiveIdempotent

Replace the text of one of your own Reddit comments, overwriting the previous content and adding an edited marker.

Instructions

Replace the text of one of your own comments. Mutating and idempotent (same text → same result); it overwrites the previous content. Requires REDDIT_USERNAME and REDDIT_PASSWORD, and works only on comments you authored. Adds an "edited" marker. Use reply_to_post to add a new comment, or edit_post for posts. 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_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_textYesReplacement comment text; fully overwrites the current content. Reddit markdown supported.
thing_idYesThe comment to edit: a full thing id 't1_<id>' or just the base36 comment id '<id>' (the 't1_' prefix is added automatically). Must be a comment 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 (destructiveHint=true, idempotentHint=true), it discloses that content is fully overwritten, that an 'edited' marker is added, that REDDIT_USERNAME/REDDIT_PASSWORD are required, and warns that rapid edits may trip spam detection with REDDIT_SAFE_MODE as mitigation. That is material operational context an agent cannot get from the structured fields.

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-loaded with the action, then behavior, alternatives, and the safety warning — no filler sentences. Minor redundancy in restating 'mutating and idempotent' which the annotations already encode.

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, it covers authentication, ownership limits, side effects (edited marker), reversibility (overwrite), and rate-limit risk. Nothing an agent needs 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 explains the 't1_' prefix handling and that new_text fully overwrites content, so the description only echoes the overwrite semantics. Baseline 3 applies when the schema carries parameter meaning.

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 ('Replace the text of one of your own comments') and immediately bounds it with an ownership constraint, which distinguishes it from edit_post and reply_to_post by resource type.

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?

Explicitly routes the agent: 'Use reply_to_post to add a new comment, or edit_post for posts.' It also states the precondition that only self-authored comments qualify, so an agent knows when this tool is inapplicable.

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