Skip to main content
Glama

schedule_workflow

Destructive

Run a saved workflow on a schedule, such as every weekday at 08:00, with no chat open. Review it first with get_workflow and pass the version it showed as expectedVersion: each run uses exactly that version and does not start if the workflow has changed. At each time BCD runs it on that computer the way run_workflow does, with the same permissions; the computer must be on and connected then. Inputs are kept by BCD's server, so never put secrets in them. Emails the account when a run fails or does not start (notify: failures, the default), after every run (always) or never. Returns scheduleId and the next run time. Requires read, write and process permissions.

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": {
      "workflowId": "<workflowId>",
      "expectedVersion": "<expectedVersion>",
      "time": "<time>",
      "timeZone": "<timeZone>"
    },
    "name": "schedule_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoDays to run; omit for every day
timeYesLocal time to run, HH:MM in 24-hour time
inputsNoValues for the workflow's {{inputs}}, used at every run
notifyNoWhen to email the account: failures (default), always or never
deviceIdNoComputer name or id
timeZoneYesThe user's IANA time zone, such as America/Los_Angeles; ask the user if unsure
workflowIdYesA workflow saved with save_workflow on that computer
expectedVersionYesThe version get_workflow showed

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id; optional with one computer or a default"New value: +"Computer name or id"
  2. Changed1 schema field changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id from list_devices. Optional with one computer online or a default set."New value: +"Computer name or id; optional with one computer or a default"
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations it discloses version pinning and abort-on-change behavior, the requirement that the host machine be powered on and connected at each run, that inputs persist server-side and must not hold secrets, the three notification modes with their default, required permissions, and the returned identifiers. This is exactly the additional context annotations cannot 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 action, then prerequisites, then runtime behavior, then notifications, then return value and permissions. Most sentences carry distinct information, though the run_workflow equivalence and permission sentences could be tightened slightly.

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 an 8-parameter scheduling tool with no output schema, the description covers prerequisites, side effects, runtime environment, notification policy, auth requirements, and return values. An agent has everything needed to invoke it correctly and warn the user about the connected-machine constraint.

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 baseline is 3, but the prose adds real meaning: expectedVersion is a pin that causes the run not to start if the workflow changed, notify has a named default, and inputs are explicitly framed as stored values to be reused every run. days/time/timeZone semantics are largely left to the schema.

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 opening clause gives a specific verb and resource ("Run a saved workflow on a schedule") plus the defining trait "with no chat open," which separates it from an immediate run. It also names the relevant siblings (get_workflow, run_workflow) so an agent can place the tool relative to them 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states a concrete prerequisite workflow: review with get_workflow first and pass the shown version as expectedVersion. It also explains the run model via run_workflow and the environmental precondition (computer on and connected). It stops short of an explicit "use this instead of run_workflow when you want recurrence" routing statement, but the context is clear.

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