Skip to main content
Glama

Pause, resume or remove an automation

set_automation_status
DestructiveIdempotent

AI Agents (inside one system): Use when the customer asks to pause, resume or remove one automation, after they confirmed. pause stops it until it is resumed; resume switches a paused rule on again, and a rule the customer never approved answers with its approval link instead; remove stops it for good. Nothing is deleted in the system, and every change the rule made stays in the change log with its undo. Needs the id from list_automations. Not for changing what a rule does (use propose_automation with replaces).

Input Schema

NameRequiredDescriptionDefault
commandYespause, resume or remove.
automation_idYesThe automation's id, as list_automations or propose_automation returns it.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
ruleYes
typeYes
noticeNo
statusYes
examplesYes
sentenceYes
systemIdYes
warningsYes
lastRunAtYes
approveUrlYes
systemNameYes
pauseReasonYes
firings30DaysYes
matchedLast30DaysYes

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?

Annotations declare destructiveHint=true and idempotentHint=true, but the description adds what those hints cannot: remove is permanent but nothing is deleted from the system, all prior changes stay in the change log with undo, and resuming a never-approved rule returns its approval link instead of activating it. That last detail is a genuine behavioral surprise the agent could not infer from structured fields.

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 usage trigger, then prerequisites, then the alternative. Dense but nearly every clause carries new information; the multi-clause sentence about resume and approval links is a little hard to parse on first read.

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 destructive state-change tool with an output schema present, the description covers when to call, confirmation gating, prerequisites, per-command effects, reversibility, and the sibling alternative. Nothing an agent needs to invoke it safely 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 is 3, but the description goes further by spelling out the effect of each enum value (pause halts until resumed, resume reactivates, remove is final) rather than repeating the bare enum. It does not add id format or length details beyond what the schema already covers.

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 specific verbs and the exact resource: pause, resume or remove one automation. It also draws a sharp boundary against the sibling that changes rule behavior (propose_automation with replaces), so the agent can route 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?

Explicit trigger ('Use when the customer asks to pause, resume or remove one automation, after they confirmed'), explicit prerequisite ('Needs the id from list_automations'), and an explicit exclusion with the alternative named ('Not for changing what a rule does (use propose_automation with replaces)').

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