Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FlowRunner Prompt to Flow. If you published it, claim ownership there.

Set flow schedule

set_flow_schedule
DestructiveIdempotent

Run the whole flow on a clock, for a flow without a trigger ("every morning at 9", "every weekday"); not a polling trigger's frequency. Requires a saved flow version that is not LIVE or PAUSED; the schedule takes effect at start_flow; each version has its own. schedule: "once" | "custom" (everySeconds required) | "daily" (everyDays, default 1) | "weekly" (weekDays required: 1-7, 1 = Sunday … 7 = Saturday; everyWeeks default 1); no monthly. The schedule values are the same as a polling trigger's frequency. enabled defaults to true. Partial update: omitted startDate/endDate/enabled/onlyScheduledInitiations/allowApiInitiationsWhenScheduleExpired keep their current values; with no existing schedule, startDate defaults to about 30 s from now and endDate to none. endDate: null clears the expiry. enabled: false saves the schedule turned off (as stop-scheduled-runs does). onlyScheduledInitiations: true — only the scheduler may start runs. allowApiInitiationsWhenScheduleExpired: true — after endDate other starts are allowed again; only together with onlyScheduledInitiations.

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": "<schedule>",
      "versionId": "<versionId>",
      "workspaceId": "<workspaceId>"
    },
    "name": "set_flow_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledNo
endDateNo
scheduleYes
weekDaysNo
everyDaysNo
startDateNo
versionIdYes
everyWeeksNo
workspaceIdYes
everySecondsNo
onlyScheduledInitiationsNo
allowApiInitiationsWhenScheduleExpiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: partial-update semantics for omitted fields, the ~30 s default startDate when no schedule exists, endDate: null clearing expiry, enabled: false saving the schedule off, and the interaction rule that allowApiInitiationsWhenScheduleExpired only works together with onlyScheduledInitiations. The timing note that the schedule takes effect at start_flow is exactly the kind of 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 purpose and prerequisites before the parameter rules, with no filler sentences. The semicolon-chained parameter clauses are dense and slightly run-on, costing a bit of scannability, but each clause carries real information.

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 12-parameter mutation with no output schema, the description covers defaults, partial-update behavior, cross-parameter dependencies, and activation timing. It does not state what the call returns or confirm the effect of overwriting an existing schedule's modes, leaving small gaps for a destructive-flagged write.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 12 parameters, and the description compensates thoroughly: per-mode requirements ('custom' needs everySeconds, 'weekly' needs weekDays 1-7 with 1=Sunday), defaults for everyDays, everyWeeks, and enabled, and the null-clears-expiry behavior for endDate. Only workspaceId goes unexplained, which is minor given the rest.

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 description opens with a specific verb and scope: 'Run the whole flow on a clock, for a flow without a trigger,' and immediately disambiguates from a polling trigger's frequency. It also pins down that the setting is per-version and applies at start_flow, so an agent can tell this apart from start_flow/pause_flow/get_flow_schedule 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?

Clear when-to-use ('a flow without a trigger') and when-not ('not a polling trigger's frequency'), plus a hard prerequisite (saved version that is not LIVE or PAUSED). It stops short of naming a read counterpart such as get_flow_schedule for inspecting an existing schedule, so the alternative routing is implied rather than explicit.

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