Skip to main content
Glama

update_schedule_task

Idempotent

Modify an existing scheduled server task by updating its action, payload, time offset, or continue-on-failure setting while preserving omitted flags.

Instructions

Update an existing action task inside a schedule (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>",
      "task_id": "<task_id>",
      "action": "<action>",
      "payload": "<payload>"
    },
    "name": "update_schedule_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesTask action type
payloadYesCommand, power signal, or ignored files for backup
task_idYesNumeric task ID
server_idYesShort server identifier
schedule_idYesNumeric schedule ID
time_offsetNoDelay in seconds (preserves current if omitted)
continue_on_failureNoContinue next tasks if this fails (preserves current if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/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 write/idempotent profile is covered by structured data. The parenthetical "(preserves omitted flags)" adds genuine PATCH-semantics context not present in the annotations, but nothing about failure behavior or what happens with an invalid task_id is disclosed.

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 compact sentence with the resource stated first and the behavioral caveat attached as a parenthetical. Nothing superfluous and no burying of the key detail.

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?

For a 5-required-parameter mutation with full schema coverage and no output schema, the partial-update contract is the main thing an agent needs and it is stated. However, whether unrecognized or invalid task_id values error, and any auth/permission expectations, are left unaddressed.

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 description coverage is 100%, so the schema already documents every one of the 7 parameters including the "preserves current if omitted" notes on time_offset and continue_on_failure. The description adds only the general omitted-field rule, which is consistent with but not additive to the schema — baseline applies.

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 and resource ("Update an existing action task inside a schedule") with the scoping qualifier "inside a schedule," which separates it from update_schedule. Sibling differentiation from create_schedule_task/delete_schedule_task is only implied by "existing," not stated, so it falls short of a 5.

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?

Usage is implied by "existing" — it is for modifying a task that already exists rather than adding one. No explicit exclusions, prerequisites, or named alternatives are given, so an agent must infer the when-not case.

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