Skip to main content
Glama

Update or pause a schedule

update_schedule
Idempotent

Change a schedule; only the fields you give change. Needs an administrator key. Set enabled to false to pause it and to true to resume it (resuming clears the failures that paused it). A new timetable counts from now.

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": {
      "id": "<id>"
    },
    "name": "update_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe schedule's id (sch_…), as returned by create_schedule or list_schedules.
cronNoFive fields (minute hour day-of-month month day-of-week) or a descriptor such as @daily or @every 15m.
nameNoA label for the schedule.
inputNoAny JSON the agent receives as its input on every start (maximum 1 MiB).
notifyNoA notification for each run, as in create_schedule, or null to stop notifying.
enabledNofalse pauses the schedule, true resumes it.
timezoneNoIANA time zone name, such as Europe/Madrid.
workflowNoName of the saved workflow to run.
max_cost_microsNoCost cap of each run, in millionths of a dollar; defaults to default_max_cost_micros (get_account). On the hosted service it must cover at least the run fee plus compute for the workflow's whole timeout (with the surcharge for a zero-data-retention workflow); a smaller cap is refused, and the error's budget object gives the figures, required_max_cost_micros and longest_timeout_seconds.
skip_if_runningNoSkip a start while the previous run is still going.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / notify
      Added value: +{
      +  "description": "A notification for each run, as in create_schedule, or null to stop notifying.",
      +  "oneOf": [
      +    {
      +      "additionalProperties": false,
      +      "description": "Tell a saved HTTP connection when each run it starts has finished: Ephemeral POSTs JSON (event, the run or batch with its status, output, error and final cost, and a one-line text) to the connection's URL plus path, with the connection's own credentials. The connection must be an HTTP connection that allows POST (see list_connections); a failed delivery is retried for a while.",
      +      "properties": {
      +        "connection": {
      +          "description": "Name of the saved HTTP connection.",
      +          "type": "string"
      +        },
      +        "on": {
      +          "description": "always (default), or failure: only when a run did not succeed.",
      +          "enum": [
      +            "always",
      +            "failure"
      +          ],
      +          "type": "string"
      +        },
      +        "path": {
      +          "description": "A path relative to the connection's URL, such as /hooks/ephemeral (default: the URL itself).",
      +          "maxLength": 512,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "connection"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / max_cost_micros / description
      Previous value: -"Cost cap of each run, in millionths of a dollar."New value: +"Cost cap of each run, in millionths of a dollar; defaults to default_max_cost_micros (get_account). On the hosted service it must cover at least the run fee plus compute for the workflow's whole timeout (with the surcharge for a zero-data-retention workflow); a smaller cap is refused, and the error's budget object gives the figures, required_max_cost_micros and longest_timeout_seconds."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare the generic profile (idempotent, non-destructive, not read-only), so the description carries real weight and adds non-obvious behavior: an administrator key is required, unspecified fields are left untouched, resuming clears the failure state that caused the pause, and a new timetable schedules from now rather than retroactively. It omits return/error shape and any effect on an in-flight run, which keeps it below 5.

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 short sentences, front-loaded with the patch contract, then the prerequisite, then the two behaviors an agent is most likely to get wrong. No sentence is redundant with the schema or the title.

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?

With ten parameters, full schema coverage, and no output schema, the description covers the operationally risky parts a schema cannot: auth requirement, partial-update semantics, and pause/resume side effects. It leaves out what a successful response looks like and how the strict max_cost_micros rejection is surfaced, but the schema already handles the latter.

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 per-parameter descriptions are already detailed, so the baseline is 3. The description earns above that by stating the patch contract ('only the fields you give change'), which no individual field description conveys, and by explaining the state side effect of enabled=false/true that the schema only states as 'pauses/resumes'.

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?

The description opens with a specific verb-and-resource pair ('Change a schedule') and immediately qualifies it with patch semantics ('only the fields you give change'), which separates it from a full replace or a create. It does not name any sibling (create_schedule, delete_schedule, get_schedule) to route against, so it stops short of full 5-level differentiation.

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?

It gives concrete conditional guidance for the pause/resume path ('Set enabled to false to pause it and to true to resume it') and the prerequisite 'Needs an administrator key'. What is missing is any statement of when to prefer this tool over related ones such as preview_schedule or create_schedule; the guidance is clear but not comparative.

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