Skip to main content
Glama

update_schedule

Idempotent

Modify an existing cron schedule’s name, cron expression, or activation flags; omitted flags remain unchanged.

Instructions

Update an existing cron schedule's name, cron expression, or activation flags (preserves omitted flags).

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": {
      "server_id": "<server_id>",
      "schedule_id": "<schedule_id>",
      "name": "<name>",
      "minute": "<minute>",
      "hour": "<hour>",
      "day_of_month": "<day_of_month>",
      "month": "<month>",
      "day_of_week": "<day_of_week>"
    },
    "name": "update_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
hourYesCron hour field
nameYesSchedule name
monthYesCron month field
minuteYesCron minute field
is_activeNoWhether schedule is enabled (preserves current if omitted)
server_idYesShort server identifier
day_of_weekYesCron day of week field
schedule_idYesNumeric schedule ID
day_of_monthYesCron day of month field
only_when_onlineNoRun only when server is online (preserves current if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, so the mutation/idempotency profile is covered. The description adds real value with '(preserves omitted flags)', disclosing partial-update behavior for the boolean flags. It says nothing about effect on existing schedule tasks, whether the cron expression is replaced wholesale, or error behavior for invalid cron fields.

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?

A single sentence with no filler, front-loading the update verb and resource before the field list and the preservation caveat. Every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Ten parameters with full schema descriptions and an annotation-backed safety profile mean the structured fields do most of the work, and the flag-preservation note is a useful addition. However, for a mutation tool the description leaves a genuine ambiguity unresolved: whether cron fields can be partially supplied, given that the schema requires all of them.

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

Parameters3/5

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

Schema coverage is 100%, so all ten parameters are already documented, and the description's field grouping (name / cron expression / activation flags) adds only light framing. It arguably drifts from the schema by framing name and cron expression as individually updatable options when eight parameters, including all five cron fields and name, are required.

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?

States a specific verb ('Update') and resource ('an existing cron schedule') plus the modifiable fields: name, cron expression, activation flags. This clearly separates it from create_schedule/delete_schedule, though it does not explicitly name the nearest sibling update_schedule_task.

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

Usage Guidelines3/5

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

The word 'existing' implies this is for modification rather than creation, giving implied usage against create_schedule. There is no explicit when-to-use statement, no exclusion of update_schedule_task, and no note on prerequisites such as needing a valid schedule_id from get_schedule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.