Skip to main content
Glama

Update Comment Automation

update_comment_automation

Update a comment→DM automation, or pause/resume it. Passing isActive:false alone pauses it without changing anything else; isActive:true resumes it. Only the fields you pass are changed.

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": {
      "automationId": "<automationId>"
    },
    "name": "update_comment_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew internal name for the automation
buttonsNoURL buttons; [] removes them. DM max 640 characters with buttons.
clickTagNoTag clickers; empty clears.
isActiveNofalse pauses the automation, true resumes it
keywordsNoReplaces the whole keyword list (max 25)
dmMessageNoNew DM text
matchModeNoHow keywords match a comment: exact, contains (default) or whole word
automationIdYesThe automationId from list_comment_automations
commentReplyNoNew public reply (empty string removes it)
linkTrackingNoTrack link clicks in the DM
followersOnlyNoRequired for Instagram comment buttons: only known followers receive them.
alsoMatchInDmsNoAlso respond to the keywords in incoming DMs (comment trigger with keywords only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / alsoMatchInDms / description
      Added value: +"Also respond to the keywords in incoming DMs (comment trigger with keywords only)"
    • addedInput schema / properties / linkTracking / description
      Added value: +"Track link clicks in the DM"
    • addedInput schema / properties / matchMode / description
      Added value: +"How keywords match a comment: exact, contains (default) or whole word"
    • addedInput schema / properties / name / description
      Added value: +"New internal name for the automation"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true, so the safety bar is partly covered. The description adds genuine behavioral context beyond them: it discloses partial-merge semantics ('Only the fields you pass are changed') and the isolation of the pause flag, which matters given idempotentHint=false. It says nothing about auth scope or whether overwriting keywords/buttons is reversible.

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?

Two sentences, front-loaded with the verb and resource, followed immediately by the non-obvious pause/resume and partial-update rules. No filler, no restatement of the title.

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 full schema description coverage and no output schema, the description covers what structured fields cannot: the update mode and the pause shortcut. Per-parameter constraints (max 640 characters, followersOnly for buttons, whole-list keyword replacement) are already documented in the schema, so nothing essential 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 the baseline would be 3, but the description adds meaning the schema does not state: that isActive can be passed as the sole field and that omitted fields are preserved. That clarifies the 11 optional parameters as a partial-update contract rather than a full replacement payload.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Update a comment→DM automation') and adds the alternate mode ('or pause/resume it'), which tells an agent exactly what the tool mutates. It does not explicitly contrast itself with create_comment_automation, delete_comment_automation, or list_comment_automations, so sibling differentiation is left to name inference.

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?

It gives clear operational context for the pause/resume path: passing isActive:false alone pauses, isActive:true resumes, and only supplied fields change. That is actionable when-to-use guidance for the most common ambiguous case. It stops short of stating exclusions such as 'use create_comment_automation to make a new one'.

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