Skip to main content
Glama

Activate or deactivate automation

set_automation_status
DestructiveIdempotent

Turns an automation on or off. Activating re-validates it, requires that the brand accepted the automation terms in replient.ai, and for DM automations checks the plan and the contact limit. Once active it reacts to new comments or messages right away, in its place in the execution order. Deactivating stops new runs; contacts in the middle of a DM flow continue. May first return a confirmation summary and token instead of acting.

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": {
      "brand": "<brand>",
      "automationId": "<automationId>",
      "active": "<active>"
    },
    "name": "set_automation_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYes
activeYestrue to activate, false to deactivate
automationIdYesAutomation id from list_automations
confirmationTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations (which only flag it as a destructive, idempotent write): discloses that activation re-validates, that in-flight DM contacts keep running after deactivation, that active automations respond immediately at their position in the execution order, and that a confirmation summary plus token may be returned instead of acting. That last point is essential behavior an agent would otherwise only discover at runtime.

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, then layered prerequisites and side effects in short declarative sentences; every sentence carries distinct information. Dense but no filler.

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 destructive toggle with no output schema, it covers prerequisites, side effects on in-flight runs, timing of activation, and the confirmation-token flow. It omits error/failure behavior (e.g., what happens if re-validation or the plan check fails), which an agent would benefit from knowing.

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 only 50% (brand and confirmationToken lack schema descriptions), but the description compensates by explaining the confirmationToken round-trip and tying brand to the terms-acceptance prerequisite. It does not explain the expected format/shape of the brand value, leaving a small gap.

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?

Specific verb+resource: "Turns an automation on or off," with the activation/deactivation branches spelled out. It clearly distinguishes this state-change from sibling operations like validate_automation or save_comment_automation by implication, though it never names an alternative tool outright.

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 preconditions for the activating branch (brand must have accepted the automation terms, plan and contact-limit checks for DM automations) and the effect of the deactivating branch. It stops short of explicit routing guidance such as "run validate_automation first" or when to prefer get_automation, so no exclusions are 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.

Resources