Skip to main content
Glama

Pause or resume a recurring Autopilot workflow

toggle_autopilot_workflow
Destructive

Pause or resume a single recurring Autopilot marketing workflow by workflow_id (free, 0 credits). Setting status to paused stops future scheduled runs for only this workflow without deleting it; setting status to active resumes future scheduled runs (recomputing next_run_at) unless Global Emergency Pause is active, which fails with HTTP 409. Mutates live workspace workflow scheduling state (marked write/non-idempotent) without deleting records or publishing immediately. Use list_autopilot_workflows to find workflow_id; use pause_autopilot instead for an account-wide Global Emergency Pause across all autonomous publishing. Returns ok, workflow, and credits.

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": {
      "workflow_id": "<workflow_id>",
      "status": "<status>"
    },
    "name": "toggle_autopilot_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesTarget state: active resumes future scheduled runs (blocked while Global Emergency Pause is active); paused stops future runs for only this workflow.
workflow_idYesUUID of the recurring Autopilot workflow to update (obtained from list_autopilot_workflows).

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?

Beyond the annotations (readOnly=false, destructive=true, non-idempotent) it clarifies what 'destructive' does and does not mean here: it mutates scheduling state but does not delete records or publish immediately. It adds cost (free, 0 credits), the next_run_at recomputation on resume, and the 409 failure mode — none of which the annotations convey.

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 and scope, with alternatives and return values following in a logical order. It is dense — several semicolon-joined clauses and parentheticals in one block — but nearly every clause carries distinct information.

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 two-parameter mutation tool with no output schema, it covers the action, the alternative tools, the failure mode, the cost, and the return shape (ok, workflow, credits). Nothing an agent needs in order to call it correctly appears to be 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 enum and UUID semantics are already documented. The description still adds value by tying 'active' to next_run_at recomputation and the Global Emergency Pause block, but most of that meaning is duplicated in the schema's own status description.

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 and resource ('Pause or resume a single recurring Autopilot marketing workflow') and bounds the scope to exactly one workflow. It explicitly distinguishes itself from list_autopilot_workflows (lookup) and pause_autopilot (account-wide emergency pause), so an agent can choose it without opening sibling schemas.

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?

It gives explicit routing: use list_autopilot_workflows to obtain workflow_id, and use pause_autopilot instead for an account-wide Global Emergency Pause. It also states the failure precondition (Global Emergency Pause active → HTTP 409) when resuming.

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