Skip to main content
Glama

set_task_schedule_active

DestructiveIdempotent

Pause or resume a task schedule and return the updated schedule. Use it to stop runs for everyone or restart them without resetting the next run time.

Instructions

Pause or resume a task schedule and return the updated schedule. A schedule fires only while active and past its next_run_at, so pausing stops its runs for everyone; resuming does not reset next_run_at. Setting the value it already has changes nothing but updated_at. Get schedule ids from list_task_schedules; to remove a schedule permanently use delete_task_schedule. Requires workspace:write and access to the schedule's channel.

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": {
      "schedule_id": "<schedule_id>",
      "active": "<active>"
    },
    "name": "set_task_schedule_active"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeYestrue to resume the schedule, false to pause it.
schedule_idYesUUID of the task schedule to pause or resume.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv479.0.2
    • addedInput schema / properties / active / description
      Added value: +"true to resume the schedule, false to pause it."
    • addedInput schema / properties / schedule_id / description
      Added value: +"UUID of the task schedule to pause or resume."
  2. First observedv479.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructive and idempotent, and the description adds real context beyond them: the blast radius ('stops its runs for everyone'), the next_run_at side effect of resuming, the no-op semantics of setting the current value (only updated_at changes), and the required workspace:write plus channel access. This is exactly the extra behavioral detail an agent needs for a destructive toggle.

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?

Four tight sentences, front-loaded with the operation and followed by semantics, prerequisites, and alternatives in descending order of importance. No filler or restatement of the name.

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 destructive toggle with no output schema, the description covers return ('the updated schedule'), side effects, auth scope, id discovery, and the deletion alternative. Nothing an agent needs to call 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% and the schema already maps true→resume / false→pause, so the baseline is 3; the description adds meaning beyond it by explaining what resuming does not do (reset next_run_at) and that no-ops only touch updated_at. The added value is real but modest since the boolean's polarity is already documented.

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 a precise verb pair and resource ('Pause or resume a task schedule'), and immediately distinguishes itself from list_task_schedules (id source) and delete_task_schedule (permanent removal), so an 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?

Explicitly says how to obtain schedule ids (list_task_schedules) and names the alternative for permanent removal (delete_task_schedule), plus states the precondition that the schedule must be past next_run_at to fire. Both the when and the when-not are covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools