Skip to main content
Glama

Create an auto-reply

create_auto_reply
Destructive

Adds a rule that answers comments or direct messages automatically, on the person's behalf, from now on (never older comments). trigger COMMENT: when someone comments (optionally only with one of keywords, whole words, any case; only on post_ids; only on channel_ids), post one of public_replies (picked at random) under the comment and/or send message (+ link_url as a tracked short link) privately to the commenter, once per comment within 7 days. trigger MESSAGE: when someone sends a direct message (optionally with a keyword), answer with message within 24 hours. once_per_person (default true) answers each person once per rule per 30 days. At most 120 replies per account per hour. This sends messages to real people without a human in the loop: show the person the exact texts and get their OK before creating it enabled, or create it with enabled=false. (Not available in an unclaimed sandbox.)

Input Schema

NameRequiredDescriptionDefault
nameYesA short name the person will recognize, e.g. "Link in DM"
enabledNo
messageNoThe private message (to the commenter, or the answer to a direct message)
triggerYesCOMMENT: someone comments on a post. MESSAGE: someone sends a direct message
keywordsNoWhole words or phrases, any case; empty = every comment or message
link_urlNoAdded at the end of the private message as a tracked short link
post_idsNoCOMMENT only: only comments on these Shager posts; empty = every post
channel_idsNoOnly these accounts; empty = every account that supports the trigger
workspace_idYesWorkspace id from list_workspaces
public_repliesNoCOMMENT only: public answers under the comment, one picked at random
idempotency_keyNoAny unique string you choose (REST: the Idempotency-Key header works too). Retrying with the same key and body returns the first result instead of creating a second one. Kept 24 hours.
once_per_personNoAnswer each person once per rule (30 days)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations: discloses rate limits (120 replies/account/hour), dedupe windows (once per comment within 7 days, per person per 30 days, 24-hour DM window), that public replies are picked at random, that link_url becomes a tracked short link, and that this messages real people without human review — consistent with destructiveHint=true. That safety framing is exactly the context an agent needs before a write with real-world side effects.

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 core action and effect, then trigger-specific rules, then the safety caveat — every sentence carries information. It is dense to the point of being a single wall of text, which slightly hurts scanability, but nothing is 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?

For a 12-parameter mutation with no output schema and openWorldHint=true, the description covers timing, scoping, rate limits, failure/sandbox constraints, and the human-approval requirement. An agent has everything needed to decide whether and how to call it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 92%, so the schema already carries most parameter meaning; the description still adds value by explaining cross-parameter semantics the schema does not — which params apply to COMMENT vs MESSAGE, that public_replies is randomly selected, and that link_url is appended as a tracked short link. It does not explain enabled's default/effect beyond the safety note, leaving a small gap.

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 ('Adds a rule that answers comments or direct messages automatically') and immediately delimits scope ('from now on, never older comments'). It is clearly distinguishable from siblings like update_auto_reply and list_auto_replies without opening a 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 explicit when-to-use conditions per trigger type, plus a when-not condition ('Not available in an unclaimed sandbox') and a safety protocol for the risky path ('get their OK before creating it enabled, or create it with enabled=false'). The routing between COMMENT and MESSAGE usage is fully spelled out.

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