Skip to main content
Glama

Pause a schedule

pause_schedule
Idempotent

Stops a schedule from starting runs. Runs already started continue. resume_schedule starts it again. If a slot was being started at that moment (the ticker had passed its last check), that one run still starts and is charged: the answer then carries inflight_run_id (the run, or null if it has not appeared yet: list_runs shows it), and the run is kept as the schedule's last_run_id.

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>"
    },
    "name": "pause_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
schedule_idYes

Output Schema

NameRequiredDescriptionDefault
scheduleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say non-read-only, idempotent, non-destructive; the description goes well beyond that by disclosing the in-flight run race condition, that the raced run is still started and charged, and that the response carries inflight_run_id / last_run_id. That is exactly the behavioral detail an agent cannot 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?

The core behavior and the undo path are front-loaded in two short sentences. The final sentence is long and parenthetically nested around the race condition, but every clause carries operational meaning, so the density is justified rather than wasteful.

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 one-parameter mutation tool with full annotations and an output schema, the definition covers the safe-call prerequisites, the side effects, and the meaning of the notable response field. Nothing an agent needs in order to pause correctly or interpret the result is missing.

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?

One parameter with 0% schema description coverage; the schema's regex conveys the 32-char hex format implicitly, and the field name makes the meaning obvious, but the description adds no explicit statement about what schedule_id is or how to obtain it (e.g., via list_schedules).

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 specific verb and resource ('Stops a schedule from starting runs') and immediately disambiguates scope: already-started runs continue, which separates it from a kill/abort operation and from delete_schedule.

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 a clear operating context and names the inverse sibling ('resume_schedule starts it again'), which tells the agent how to undo the action. It stops short of explicitly contrasting with delete_schedule or abort_run, so the when-not guidance is implied rather than enumerated.

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.