Skip to main content
Glama

Pause / resume / re-time a flow schedule

workbench_flows_schedules_update
Destructive

Changes one schedule: enabled: false pauses it (configuration kept), enabled: true resumes and recomputes the next fire time from now; interval / scheduleTime / scheduleTimezone / scheduleDayOfWeek change the cadence; label, delivery, and input can change too. Pass only what changes. Get the scheduleId from workbench_flows_schedules_list. May return needs_confirmation.

Input Schema

NameRequiredDescriptionDefault
inputNoNew fixed input envelope — {"kind":"chat","messages":[…]} or {"kind":"form","values":{…}}.
labelNo
flowIdYesFlow the schedule belongs to.
enabledNofalse pauses, true resumes.
deliveryNo
intervalNoNew cadence: hourly, daily, or weekly.
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys.
approvalIdNoApproval id from a prior needs_confirmation response. Omit on the first call.
recurrenceNoWhen it runs, like a calendar event repeats; use it for anything beyond a plain hourly/daily/weekly at one time (then omit interval). {"freq":"hourly"|"daily"|"weekly"|"monthly"|"yearly","every":N,"times":["HH:MM"],"weekdays":[0=Sun…6=Sat],"monthDays":[1…31,-1=last],"nthWeekdays":[{"nth":1…5|-1,"weekdays":[…]}],"months":[1…12],"minutes":[…],"hours":{"from","to"},"timezone":"<IANA>","starts","ends","skip":["YYYY-MM-DD"]}. Examples: weekdays at 8 → {"freq":"weekly","weekdays":[1,2,3,4,5],"times":["08:00"],"timezone":"America/Chicago"}; the last business day of the month → {"freq":"monthly","nthWeekdays":[{"nth":-1,"weekdays":[1,2,3,4,5]}],"timezone":"…"}; every other Friday → {"freq":"weekly","every":2,"weekdays":[5],"starts":"<a Friday>","timezone":"…"}. null clears it.
scheduleIdYesSchedule id, from workbench_flows_schedules_list.
scheduleTimeNo
scheduleTimezoneNo
scheduleDayOfWeekNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / recurrence
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "ends": {
      +          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +          "type": "string"
      +        },
      +        "every": {
      +          "default": 1,
      +          "maximum": 366,
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        "freq": {
      +          "enum": [
      +            "hourly",
      +            "daily",
      +            "weekly",
      +            "monthly",
      +            "yearly"
      +          ],
      +          "type": "string"
      +        },
      +        "hours": {
      +          "properties": {
      +            "from": {
      +              "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
      +              "type": "string"
      +            },
      +            "to": {
      +              "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "from",
      +            "to"
      +          ],
      +          "type": "object"
      +        },
      +        "minutes": {
      +          "items": {
      +            "maximum": 59,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maxItems": 12,
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "monthDays": {
      +          "items": {
      +            "maximum": 31,
      +            "minimum": -1,
      +            "type": "integer"
      +          },
      +          "maxItems": 31,
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "months": {
      +          "items": {
      +            "maximum": 12,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "maxItems": 12,
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "nthWeekdays": {
      +          "items": {
      +            "properties": {
      +              "nth": {
      +                "maximum": 5,
      +                "minimum": -1,
      +                "type": "integer"
      +              },
      +              "weekdays": {
      +                "items": {
      +                  "maximum": 6,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "maxItems": 7,
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "nth",
      +              "weekdays"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 5,
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "skip": {
      +          "items": {
      +            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +            "type": "string"
      +          },
      +          "maxItems": 100,
      +          "type": "array"
      +        },
      +        "starts": {
      +          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +          "type": "string"
      +        },
      +        "times": {
      +          "items": {
      +            "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
      +            "type": "string"
      +          },
      +          "maxItems": 24,
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "timezone": {
      +          "maxLength": 64,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "weekdays": {
      +          "items": {
      +            "maximum": 6,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maxItems": 7,
      +          "minItems": 1,
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "freq",
      +        "timezone"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "When it runs, like a calendar event repeats; use it for anything beyond a plain hourly/daily/weekly at one time (then omit interval). {\"freq\":\"hourly\"|\"daily\"|\"weekly\"|\"monthly\"|\"yearly\",\"every\":N,\"times\":[\"HH:MM\"],\"weekdays\":[0=Sun…6=Sat],\"monthDays\":[1…31,-1=last],\"nthWeekdays\":[{\"nth\":1…5|-1,\"weekdays\":[…]}],\"months\":[1…12],\"minutes\":[…],\"hours\":{\"from\",\"to\"},\"timezone\":\"<IANA>\",\"starts\",\"ends\",\"skip\":[\"YYYY-MM-DD\"]}. Examples: weekdays at 8 → {\"freq\":\"weekly\",\"weekdays\":[1,2,3,4,5],\"times\":[\"08:00\"],\"timezone\":\"America/Chicago\"}; the last business day of the month → {\"freq\":\"monthly\",\"nthWeekdays\":[{\"nth\":-1,\"weekdays\":[1,2,3,4,5]}],\"timezone\":\"…\"}; every other Friday → {\"freq\":\"weekly\",\"every\":2,\"weekdays\":[5],\"starts\":\"<a Friday>\",\"timezone\":\"…\"}. null clears it."
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / input / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "kind": {
      -        "const": "chat",
      -        "type": "string"
      -      },
      -      "messages": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "content": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "items": {},
      -                  "type": "array"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "role": {
      -              "type": "string"
      -            },
      -            "tool_call_id": {
      -              "type": "string"
      -            },
      -            "tool_calls": {
      -              "items": {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "function": {
      -                    "additionalProperties": {},
      -                    "properties": {
      -                      "arguments": {},
      -                      "name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "id": {
      -                    "type": "string"
      -                  },
      -                  "type": {
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "role"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "messages"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "kind": {
      -        "const": "form",
      -        "type": "string"
      -      },
      -      "values": {
      -        "additionalProperties": {},
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "values"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "kind": {
      +        "const": "chat",
      +        "type": "string"
      +      },
      +      "messages": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "content": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "items": {},
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "role": {
      +              "type": "string"
      +            },
      +            "tool_call_id": {
      +              "type": "string"
      +            },
      +            "tool_calls": {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "function": {
      +                    "additionalProperties": {},
      +                    "properties": {
      +                      "arguments": {},
      +                      "name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "role"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "values": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "messages"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "kind": {
      +        "const": "form",
      +        "type": "string"
      +      },
      +      "values": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "values"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the mutation profile is covered. The description adds genuine behavioral value beyond that: pausing keeps configuration, resuming recomputes fire time from now, and 'May return needs_confirmation' warns of an approval round-trip. It doesn't explain what 'destructive' concretely means here, keeping it at 4.

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?

Dense, front-loaded sentences with no filler; each clause maps a field or action to its effect. The prerequisite note and the needs_confirmation warning are placed at the end without burying the primary purpose.

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?

For a 13-parameter mutation tool with no output schema, the description covers the main behaviors, partial-update contract, prerequisite lookup, and the confirmation flow. Minor gaps (workspace/approvalId handling are left to schema) keep it just below full completeness.

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 62%, so structured fields do part of the work, but the description adds real meaning: enabled's pause/resume semantics, the cadence field group, and that label/delivery/input are also mutable. The recurrence/approval params are documented in-schema rather than the description, so not a 5.

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 (changes) and resource (one schedule), then enumerates exactly which fields do what: `enabled: false` pauses, `enabled: true` resumes, cadence fields re-time. An agent can distinguish it from `workbench_flows_schedule` (create) and `schedules_run_now` without opening the schema.

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 clear operational context — 'Pass only what changes' establishes it as a partial-update tool, and 'Get the scheduleId from workbench_flows_schedules_list' routes the agent to the prerequisite tool. It does not explicitly contrast with sibling scheduling tools (create vs run_now), so not a full 5.

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