Skip to main content
Glama

Create comment DM rule

create_comment_dm_rule
Destructive

Creates an Instagram comment DM rule: anyone who comments a keyword gets the message as one private DM, once per person per rule. Send message (one text) or messages (up to 5 versions), or message_mode=ai with ai_brief, and optionally a public reply under the comment. It starts sending to real people as soon as it's on, so confirm the keywords and text with the user first, or set enabled=false. The DM lands in the person's Message requests. Needs the Team plan or the DM automation add-on on Creator.

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": {
      "workspace_id": "<workspace_id>",
      "keywords": "<keywords>"
    },
    "name": "create_comment_dm_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
gateNoA step before the link. none (default): the first DM has the link. follow: checks they follow the account first (after 3 tries the link goes out anyway). email: asks for their email and saves it to the workspace's contacts (list_dm_contacts). follow_email: both. With a step or files, the first DM ends with a button (gate_button_label); tapping it starts the next step, because Instagram allows one DM per comment until the person answers.
linkNoThe link you're sending, up to 500 characters. Fills {link}, and goes under every AI-written DM. https:// is added when missing.
nameNoOptional name for the rule, shown in ShortSync's rule lists instead of its keywords (up to 60 characters). null or an empty string clears it.
ai_faqsNoUp to 20 questions and answers the AI follows closely when it answers replies (followup_enabled). Questions up to 200 characters, answers up to 1,000. Replaces the list.
enabledNoDefaults to true.
messageNoOne DM text, up to 1,000 bytes. Use messages for several versions; setting message replaces them all with this one. Include a line saying it's automated, such as 'This is an automated message.' Some places, like California and Germany, require that. The result's disclosure_missing is true when there's no such line.
post_idNoOne Instagram post id from list_comment_dm_posts (ignored when post_ids is set). Null or left out on create watches every post.
triggerNoOne trigger, the shape from before triggers (ignored when triggers is set). What starts the rule. comment (default): a comment on a post (post_id picks one post). story_reply: a reply to any of the account's stories. dm_keyword: a DM sent to the account that isn't part of another automation. live_comment: a comment during an Instagram Live, answered while it's on. Keywords are matched in the text either way; each person gets the rule's DM once. Public replies are for comment rules only.
ai_briefNoRequired when message_mode is ai: a sentence or two on what the DM should say, up to 500 characters.
deliveryNoHow the link is sent. text (default): inside the message. button: the message (up to 640 characters) with a link button; {link} is left out of the text. card: a card with card_title, card_subtitle and a link button (image cards are set up in ShortSync). Button and card need a link. If Instagram doesn't accept a button or card in a reply to a comment, the message goes out as text with the link.
keywordsYesUp to 20 words or phrases people comment to get the DM. Whole words, any case: 'link' matches 'Link please' but not 'linked'. Emoji work too. Empty only for a rule whose sole trigger is story_mention.
messagesNoUp to 5 versions of the DM; each person gets one picked at random, so DMs don't all read the same. Use instead of message. Placeholders: {username} (the commenter as @name on Instagram, their name on Facebook), {first_name} (first name on Facebook, @name on Instagram), {keyword} (the keyword they matched), {link} (the rule's link). Each version up to 1,000 bytes with the placeholders filled in. In AI mode these are the fallback, sent when the AI can't write one or the month's AI DMs are used up.
platformNoinstagram (default) or facebook: the workspace's connected Facebook Page (needs it reconnected with the pages_manage_metadata permission). Facebook rules start from post comments or Messenger DMs (dm_keyword), and skip the follow check. Set when creating; post_id is a Facebook post id (pageid_postid).
post_idsNoInstagram post ids from list_comment_dm_posts (up to 50): the comment trigger only answers comments on these posts. Null or [] watches every post. Story replies, DMs and Live comments aren't limited by it.
triggersNoEverything that starts the rule, one or more: comment (a comment on a post; post_ids can limit it to chosen posts), story_reply, dm_keyword, live_comment, story_mention (someone mentions the account in their story; no keyword needed, keywords may be empty when it's the only trigger). One rule can listen to several, for example ["comment", "story_reply"]. Facebook rules take comment and dm_keyword (a Messenger DM to the Page). Use instead of trigger. Each person still gets the rule's DM once.
card_titleNoRequired for card: up to 80 characters. {username} and {keyword} work here.
reply_wordNoIf Instagram refuses the button: 'Reply <word> and I'll send it'. Up to 30 characters, default YES.
button_labelNoButton text for button and card, up to 20 characters. Defaults to 'Open link'.
email_promptNoAsks for the email; say what it's used for. Up to 640 characters.
followup_maxNoAI answers per person, default 3.
message_modeNovariants (default): send one of your versions. ai: AI writes each DM from ai_brief, greets the person and answers their comment in their language; it never adds links or claims you didn't give, and ends with an automated-message line. Counts toward the organization's monthly AI DM allowance.
track_clicksNoDefault true: the link goes through a https://www.shortsync.app/l/ short link so clicks are counted (clicked_count, variant_stats, ai_stats in the rule).
workspace_idYesWorkspace with the Instagram connection. Required. Get one from list_workspaces.
card_subtitleNoOptional for card: up to 80 characters.
follow_promptNoSent when they don't follow yet, with an 'I followed' button. Up to 640 characters.
question_textNoA question asked after the follow and email steps, before the link, with question_options as tap buttons, for example 'Where are you at right now?'. They can also reply with an answer or its number. null removes it.
ai_source_urlsNoUp to 3 web pages (for example a pricing or FAQ page) the AI answers replies from. ShortSync reads them when the rule is saved and again when the text is a day old. Replaces the list.
public_repliesNoUp to 5 public replies, up to 300 characters each; each comment gets one. {username} and {keyword} work here. Kept while public_reply_enabled is false.
idempotency_keyNoOptional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice.
delivery_messageNoOne message sent with the link after the tap. Use delivery_messages for versions; ignored when that is set.
followup_enabledNoAI answers their replies for 24 hours after the link, from ai_brief (required). Stops when someone replies from the inbox, the person asks for a human, or after followup_max answers. Counts toward the monthly AI DMs.
question_optionsNo2 or 3 answers to question_text, each with its own link or the rule's. After two unclear replies the rule's link goes out.
delivery_ai_briefNoWhat the AI-written message with the link says. Required when delivery_message_mode is ai. Up to 500 characters.
delivery_messagesNoVersions of the message sent with the link (and files) after the tap, up to 5, each up to 640 characters; one is picked at random. {username}, {first_name}, {keyword} and {link} work here. Empty: 'Here you go!'.
gate_button_labelNoThe first DM's button with a step or files, up to 20 characters. Defaults to 'Send me the link'.
public_reply_enabledNoAlso post a short public reply under the comment, so people know to check their message requests.
delivery_message_modeNovariants (default): one of delivery_messages. ai: AI writes the message from delivery_ai_brief, with delivery_messages as the backup. Counts toward the monthly AI DMs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / keywords / description
      Previous value: -"Up to 20 words or phrases people comment to get the DM. Whole words, any case: 'link' matches 'Link please' but not 'linked'. Emoji work too."New value: +"Up to 20 words or phrases people comment to get the DM. Whole words, any case: 'link' matches 'Link please' but not 'linked'. Emoji work too. Empty only for a rule whose sole trigger is story_mention."
    • changedInput schema / properties / platform / description
      Previous value: -"instagram (default) or facebook: the workspace's connected Facebook Page (needs it reconnected with the pages_manage_metadata permission). Facebook rules start from post comments only, and skip the follow check. Set when creating; post_id is a Facebook post id (pageid_postid)."New value: +"instagram (default) or facebook: the workspace's connected Facebook Page (needs it reconnected with the pages_manage_metadata permission). Facebook rules start from post comments or Messenger DMs (dm_keyword), and skip the follow check. Set when creating; post_id is a Facebook post id (pageid_postid)."
    • addedInput schema / properties / question_options
      Added value: +{
      +  "description": "2 or 3 answers to question_text, each with its own link or the rule's. After two unclear replies the rule's link goes out.",
      +  "items": {
      +    "properties": {
      +      "label": {
      +        "description": "The answer button, up to 20 characters.",
      +        "type": "string"
      +      },
      +      "link": {
      +        "description": "The link this answer sends. null: the rule's link.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "label"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 3,
      +  "minItems": 2,
      +  "type": "array"
      +}
    • addedInput schema / properties / question_text
      Added value: +{
      +  "description": "A question asked after the follow and email steps, before the link, with question_options as tap buttons, for example 'Where are you at right now?'. They can also reply with an answer or its number. null removes it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / trigger / enum
      Previous value: -[
      -  "comment",
      -  "story_reply",
      -  "dm_keyword",
      -  "live_comment"
      -]New value: +[
      +  "comment",
      +  "story_reply",
      +  "dm_keyword",
      +  "live_comment",
      +  "story_mention"
      +]
    • changedInput schema / properties / triggers / description
      Previous value: -"Everything that starts the rule, one or more: comment (a comment on a post; post_ids can limit it to chosen posts), story_reply, dm_keyword, live_comment. One rule can listen to several, for example [\"comment\", \"story_reply\"]. Use instead of trigger. Each person still gets the rule's DM once."New value: +"Everything that starts the rule, one or more: comment (a comment on a post; post_ids can limit it to chosen posts), story_reply, dm_keyword, live_comment, story_mention (someone mentions the account in their story; no keyword needed, keywords may be empty when it's the only trigger). One rule can listen to several, for example [\"comment\", \"story_reply\"]. Facebook rules take comment and dm_keyword (a Messenger DM to the Page). Use instead of trigger. Each person still gets the rule's DM once."
    • changedInput schema / properties / triggers / items / enum
      Previous value: -[
      -  "comment",
      -  "story_reply",
      -  "dm_keyword",
      -  "live_comment"
      -]New value: +[
      +  "comment",
      +  "story_reply",
      +  "dm_keyword",
      +  "live_comment",
      +  "story_mention"
      +]
  2. Changed4 schema fields changed
    • addedInput schema / properties / delivery_ai_brief
      Added value: +{
      +  "description": "What the AI-written message with the link says. Required when delivery_message_mode is ai. Up to 500 characters.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / delivery_message / description
      Previous value: -"Sent with the link (on a button) after the steps. Up to 640 characters. Default 'Here you go!'."New value: +"One message sent with the link after the tap. Use delivery_messages for versions; ignored when that is set."
    • addedInput schema / properties / delivery_message_mode
      Added value: +{
      +  "description": "variants (default): one of delivery_messages. ai: AI writes the message from delivery_ai_brief, with delivery_messages as the backup. Counts toward the monthly AI DMs.",
      +  "enum": [
      +    "variants",
      +    "ai"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / delivery_messages
      Added value: +{
      +  "description": "Versions of the message sent with the link (and files) after the tap, up to 5, each up to 640 characters; one is picked at random. {username}, {first_name}, {keyword} and {link} work here. Empty: 'Here you go!'.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Optional name for the rule, shown in ShortSync's rule lists instead of its keywords (up to 60 characters). null or an empty string clears it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  4. Changed6 schema fields changed
    • addedInput schema / properties / ai_faqs
      Added value: +{
      +  "description": "Up to 20 questions and answers the AI follows closely when it answers replies (followup_enabled). Questions up to 200 characters, answers up to 1,000. Replaces the list.",
      +  "items": {
      +    "properties": {
      +      "answer": {
      +        "type": "string"
      +      },
      +      "question": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "question",
      +      "answer"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / ai_source_urls
      Added value: +{
      +  "description": "Up to 3 web pages (for example a pricing or FAQ page) the AI answers replies from. ShortSync reads them when the rule is saved and again when the text is a day old. Replaces the list.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / post_id / description
      Previous value: -"Instagram post id from list_comment_dm_posts to watch one post. Null or left out on create watches every post."New value: +"One Instagram post id from list_comment_dm_posts (ignored when post_ids is set). Null or left out on create watches every post."
    • addedInput schema / properties / post_ids
      Added value: +{
      +  "description": "Instagram post ids from list_comment_dm_posts (up to 50): the comment trigger only answers comments on these posts. Null or [] watches every post. Story replies, DMs and Live comments aren't limited by it.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / trigger / description
      Previous value: -"What starts the rule. comment (default): a comment on a post (post_id picks one post). story_reply: a reply to any of the account's stories. dm_keyword: a DM sent to the account that isn't part of another automation. live_comment: a comment during an Instagram Live, answered while it's on. Keywords are matched in the text either way; each person gets the rule's DM once. Public replies are for comment rules only."New value: +"One trigger, the shape from before triggers (ignored when triggers is set). What starts the rule. comment (default): a comment on a post (post_id picks one post). story_reply: a reply to any of the account's stories. dm_keyword: a DM sent to the account that isn't part of another automation. live_comment: a comment during an Instagram Live, answered while it's on. Keywords are matched in the text either way; each person gets the rule's DM once. Public replies are for comment rules only."
    • addedInput schema / properties / triggers
      Added value: +{
      +  "description": "Everything that starts the rule, one or more: comment (a comment on a post; post_ids can limit it to chosen posts), story_reply, dm_keyword, live_comment. One rule can listen to several, for example [\"comment\", \"story_reply\"]. Use instead of trigger. Each person still gets the rule's DM once.",
      +  "items": {
      +    "enum": [
      +      "comment",
      +      "story_reply",
      +      "dm_keyword",
      +      "live_comment"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  5. Changed11 schema fields changed
    • addedInput schema / properties / delivery_message
      Added value: +{
      +  "description": "Sent with the link (on a button) after the steps. Up to 640 characters. Default 'Here you go!'.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / email_prompt
      Added value: +{
      +  "description": "Asks for the email; say what it's used for. Up to 640 characters.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / follow_prompt
      Added value: +{
      +  "description": "Sent when they don't follow yet, with an 'I followed' button. Up to 640 characters.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / followup_enabled
      Added value: +{
      +  "description": "AI answers their replies for 24 hours after the link, from ai_brief (required). Stops when someone replies from the inbox, the person asks for a human, or after followup_max answers. Counts toward the monthly AI DMs.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / followup_max
      Added value: +{
      +  "description": "AI answers per person, default 3.",
      +  "maximum": 10,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / gate
      Added value: +{
      +  "description": "A step before the link. none (default): the first DM has the link. follow: checks they follow the account first (after 3 tries the link goes out anyway). email: asks for their email and saves it to the workspace's contacts (list_dm_contacts). follow_email: both. With a step or files, the first DM ends with a button (gate_button_label); tapping it starts the next step, because Instagram allows one DM per comment until the person answers.",
      +  "enum": [
      +    "none",
      +    "follow",
      +    "email",
      +    "follow_email"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / gate_button_label
      Added value: +{
      +  "description": "The first DM's button with a step or files, up to 20 characters. Defaults to 'Send me the link'.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / messages / description
      Previous value: -"Up to 5 versions of the DM; each person gets one picked at random, so DMs don't all read the same. Use instead of message. Placeholders: {username} (the commenter as @name), {keyword} (the keyword they matched), {link} (the rule's link). Each version up to 1,000 bytes with the placeholders filled in. In AI mode these are the fallback, sent when the AI can't write one or the month's AI DMs are used up."New value: +"Up to 5 versions of the DM; each person gets one picked at random, so DMs don't all read the same. Use instead of message. Placeholders: {username} (the commenter as @name on Instagram, their name on Facebook), {first_name} (first name on Facebook, @name on Instagram), {keyword} (the keyword they matched), {link} (the rule's link). Each version up to 1,000 bytes with the placeholders filled in. In AI mode these are the fallback, sent when the AI can't write one or the month's AI DMs are used up."
    • addedInput schema / properties / platform
      Added value: +{
      +  "description": "instagram (default) or facebook: the workspace's connected Facebook Page (needs it reconnected with the pages_manage_metadata permission). Facebook rules start from post comments only, and skip the follow check. Set when creating; post_id is a Facebook post id (pageid_postid).",
      +  "enum": [
      +    "instagram",
      +    "facebook"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / reply_word
      Added value: +{
      +  "description": "If Instagram refuses the button: 'Reply <word> and I'll send it'. Up to 30 characters, default YES.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / trigger
      Added value: +{
      +  "description": "What starts the rule. comment (default): a comment on a post (post_id picks one post). story_reply: a reply to any of the account's stories. dm_keyword: a DM sent to the account that isn't part of another automation. live_comment: a comment during an Instagram Live, answered while it's on. Keywords are matched in the text either way; each person gets the rule's DM once. Public replies are for comment rules only.",
      +  "enum": [
      +    "comment",
      +    "story_reply",
      +    "dm_keyword",
      +    "live_comment"
      +  ],
      +  "type": "string"
      +}
  6. Changed5 schema fields changed
    • addedInput schema / properties / button_label
      Added value: +{
      +  "description": "Button text for button and card, up to 20 characters. Defaults to 'Open link'.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / card_subtitle
      Added value: +{
      +  "description": "Optional for card: up to 80 characters.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / card_title
      Added value: +{
      +  "description": "Required for card: up to 80 characters. {username} and {keyword} work here.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / delivery
      Added value: +{
      +  "description": "How the link is sent. text (default): inside the message. button: the message (up to 640 characters) with a link button; {link} is left out of the text. card: a card with card_title, card_subtitle and a link button (image cards are set up in ShortSync). Button and card need a link. If Instagram doesn't accept a button or card in a reply to a comment, the message goes out as text with the link.",
      +  "enum": [
      +    "text",
      +    "button",
      +    "card"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / track_clicks
      Added value: +{
      +  "description": "Default true: the link goes through a https://www.shortsync.app/l/ short link so clicks are counted (clicked_count, variant_stats, ai_stats in the rule).",
      +  "type": "boolean"
      +}
  7. Changed8 schema fields changed
    • addedInput schema / properties / ai_brief
      Added value: +{
      +  "description": "Required when message_mode is ai: a sentence or two on what the DM should say, up to 500 characters.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / link
      Added value: +{
      +  "description": "The link you're sending, up to 500 characters. Fills {link}, and goes under every AI-written DM. https:// is added when missing.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / message / description
      Previous value: -"The DM text, up to 1,000 bytes. Include a line saying it's automated, such as 'This is an automated message.' Some places, like California and Germany, require that. The result's disclosure_missing is true when there's no such line."New value: +"One DM text, up to 1,000 bytes. Use messages for several versions; setting message replaces them all with this one. Include a line saying it's automated, such as 'This is an automated message.' Some places, like California and Germany, require that. The result's disclosure_missing is true when there's no such line."
    • addedInput schema / properties / message_mode
      Added value: +{
      +  "description": "variants (default): send one of your versions. ai: AI writes each DM from ai_brief, greets the person and answers their comment in their language; it never adds links or claims you didn't give, and ends with an automated-message line. Counts toward the organization's monthly AI DM allowance.",
      +  "enum": [
      +    "variants",
      +    "ai"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / messages
      Added value: +{
      +  "description": "Up to 5 versions of the DM; each person gets one picked at random, so DMs don't all read the same. Use instead of message. Placeholders: {username} (the commenter as @name), {keyword} (the keyword they matched), {link} (the rule's link). Each version up to 1,000 bytes with the placeholders filled in. In AI mode these are the fallback, sent when the AI can't write one or the month's AI DMs are used up.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / public_replies
      Added value: +{
      +  "description": "Up to 5 public replies, up to 300 characters each; each comment gets one. {username} and {keyword} work here. Kept while public_reply_enabled is false.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / public_reply_enabled
      Added value: +{
      +  "description": "Also post a short public reply under the comment, so people know to check their message requests.",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "workspace_id",
      -  "keywords",
      -  "message"
      -]New value: +[
      +  "workspace_id",
      +  "keywords"
      +]
  8. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, and the description earns credit by explaining exactly why: it starts sending to real people the moment it is on, DMs land in Message requests, and a disclosure line is legally required in some regions (result flag disclosure_missing). Plan gating and the once-per-person-per-rule limit are concrete behavioral facts not derivable from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with what it creates and the once-per-person rule, then the content options, then the safety warning, then prerequisites. Every sentence carries distinct information with no redundancy.

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 37-parameter destructive write with no output schema, the description covers the things an agent cannot infer: immediate real-world side effects, consent/confirmation workflow, the enabled=false escape hatch, plan prerequisites, and where the DM is delivered. Remaining field-level detail is fully documented in the schema, so nothing critical is missing.

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 100%, so parameter detail lives in the schema; the description still adds value by summarizing the three-way sending choice (message vs messages vs message_mode=ai with ai_brief) and the optional public reply, which is the key decision an agent must get right at invocation time. It does not restate the 37 fields, correctly leaving that to the schema.

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 ('Creates an Instagram comment DM rule') and immediately defines the trigger-to-outcome behavior ('anyone who comments a keyword gets the message as one private DM, once per person per rule'). An agent can distinguish this from update_comment_dm_rule or list_comment_dm_rules without opening the schema.

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 explicit operational guidance: confirm keywords and text with the user first, or set enabled=false, and notes the Team plan / DM automation add-on requirement on Creator. It stops short of naming a sibling (e.g., update_comment_dm_rule) for editing an existing rule, so the when-not-to-use side is implied rather than stated.

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.