Skip to main content
Glama

Generate Reddit reply

generate_reddit_reply

Writes a new Reply Draft for one open Reddit thread of a site, the same as "Write a reply for me" on the Reddit Opportunities page, in the Agent Mode of the site and within the Brand Mention Safety of the thread. Each call makes one AI call and adds a new draft, which becomes the draft the thread shows. Nothing posts to Reddit: the user copies the draft from the Reddit Opportunities page and posts it. Returns the draft and the Brand Mention Safety of the thread (null when the thread left the open list). A thread that is not open gives opportunity_not_found and no AI call. When the AI reply breaks the brand rules of the thread, the result is reply_failed and no draft is saved.

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": {
      "projectId": "<projectId>",
      "opportunityId": "<opportunityId>"
    },
    "name": "generate_reddit_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesSite to act on, from list_sites.
opportunityIdYesOpen thread to reply to, from list_reddit_threads view "open".

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: one AI call per invocation, a new draft becomes the displayed draft, nothing is posted to Reddit, return payload includes Brand Mention Safety (null when the thread left the open list), and it names two failure modes (opportunity_not_found, reply_failed) with their side effects. The openWorldHint and non-idempotent nature are effectively explained by the new-draft-per-call semantics.

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 and its non-posting nature, and every sentence carries information (cost, return value, error cases). Some sentences are long and compound, and the UI-analogy clause could be tightened, but there is no filler.

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?

No output schema exists, yet the description specifies the return value and its null case, plus both error outcomes, so an agent has everything needed to call it and interpret results correctly.

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 parameter descriptions already say projectId comes from list_sites and opportunityId from list_reddit_threads view "open", so the description adds little parameter-level meaning. The open-thread constraint it implies is already in the schema text.

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 ("Writes a new Reply Draft for one open Reddit thread of a site") and anchors it to a known UI action, which cleanly separates it from siblings like generate_article or scan_reddit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives clear conditions for use: the thread must be open, and the opportunityId comes from list_reddit_threads view "open". It does not name any alternative tool or explicitly say when not to use it, so guidance is strong but not exhaustive.

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