Skip to main content
Glama

Create schedule

create_schedule

Schedule authoring — create a BRAND-NEW schedule (mints the schedule + its version 1). The definition names a workflow (versioned-slug ref, published/latest), a recurrence (EITHER a 5-field cron + IANA timezone, OR an 'every N minutes/hours' interval), and an optional static input bound as the workflow's $input on every fire; fetch its JSON Schema with get_schedule_definition_schema and author against it. Pass publish=true to activate it (start firing) in one step, or publish later with publish_schedule. (To add a version to a schedule that already exists, use create_schedule_version.)

Input Schema

NameRequiredDescriptionDefault
slugYesUnique per-tenant slug; hierarchical path segments allowed (e.g. reports/daily-summary).
publishNoIf true, immediately publish the version this call creates (the common create-then-publish in one step). Defaults to false; omit to leave the version as an unpublished draft.
definitionYesThe schedule definition, as a JSON object. Fetch the exact JSON Schema it must satisfy with get_schedule_definition_schema and author against it (or copy an existing one with the get_*_version tool). The owning service validates it on submit.
descriptionNoWhat this schedule does (human + LLM-facing prose).
display_nameNoHuman-readable name.

Output Schema

NameRequiredDescriptionDefault
slugYes
versionYes
publishedYes
schedule_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and openWorldHint=true. The description adds meaningful behavioral context beyond those annotations: it mints both the schedule and version 1, publish=true starts firing, omitted publish leaves a draft, and the owning service validates the definition on submit. It does not address duplicate-slug conflicts or permission requirements, but the key side effects and lifecycle behavior are clear.

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 description is front-loaded with the core action and is dense but purposeful. The final parenthetical alternative is useful, though the single long sentence makes it slightly less scannable than it could be.

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?

Given the nested definition, versioning model, and publish semantics, the description is complete enough for an agent to call the tool correctly. It points to get_schedule_definition_schema for the nested JSON Schema, and an output schema exists so return values do not need to be described.

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 schema already documents the five top-level parameters. The description still adds substantial meaning for the nested definition object by explaining the workflow reference, cron-plus-timezone versus interval recurrence, and optional static input bound as $input on every fire.

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 states a specific verb and resource: create a brand-new schedule and mint its version 1. It explicitly distinguishes this from create_schedule_version and publish_schedule, so the agent can select the correct sibling without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It gives explicit routing: use this tool for a new schedule, use create_schedule_version when adding a version to an existing schedule, and use publish_schedule when not publishing inline. It also explains the publish=true one-step activation versus leaving the version as a draft.

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