Skip to main content
Glama

Pause or resume a comment-to-DM automation

set_dm_automation_active
DestructiveIdempotent

Use this when the owner wants to pause, stop, switch off or turn back on one of their comment-to-DM automations. Turn a comment-to-DM rule on or off. Pausing takes effect immediately and stops all new replies; people already mid-conversation simply stop getting responses. Resuming needs a free slot in the plan's active-automation allowance (get_plan shows how many may be live at once); pausing always works.

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": {
      "automation_id": "<automation_id>",
      "active": "<active>"
    },
    "name": "set_dm_automation_active"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeYes
clientNoClient website slug (or id). Required for platform-scoped keys.
automation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that pausing is immediate, halts only new replies while in-flight conversations simply go silent, and that resuming can fail without a free slot in the plan's active-automation allowance while pausing never fails. That is genuine side-effect and failure-mode information an agent cannot derive from destructiveHint/idempotentHint alone.

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?

Three tight sentences, front-loaded with the usage trigger followed by the two behavioral caveats. The synonym cluster 'pause, stop, switch off or turn back on' is slightly padded but earns its place for matching user phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a state-toggling mutation with no output schema, the definition covers immediacy, in-flight effects, and the plan-allowance precondition for the risky direction. It omits what the call returns and whether queued/scheduled DMs for the automation are affected, which are the remaining gaps for a destructiveHint=true tool.

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 only 33%, so the description must compensate. It implies the boolean meaning of 'active' ('turn back on') but says nothing about automation_id (how to obtain it, format, whether list_dm_automations should be used first) and never mentions the client slug parameter that the schema flags as required for platform-scoped keys.

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?

The description names a specific verb pair and resource: pausing or resuming a comment-to-DM automation, restated as 'Turn a comment-to-DM rule on or off.' This is clearly distinct from sibling mutations such as delete_dm_automation or apply_dm_automation_change, which edit rather than toggle state.

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?

The opening sentence gives an explicit trigger ('when the owner wants to pause, stop, switch off or turn back on') with several phrasings that help retrieval. It never states when NOT to use it or names a concrete alternative for changing settings rather than toggling, so it falls short of a 5.

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