Skip to main content
Glama

create_schedule_task

Add command, power, or backup tasks to an existing server schedule, with optional delay and continue-on-failure settings for automated task sequences.

Instructions

Add an action task ('command', 'power', or 'backup') to an existing schedule.

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>",
      "action": "<action>",
      "payload": "<payload>"
    },
    "name": "create_schedule_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesTask action type
payloadYesConsole command, power signal ('start'|'stop'|'restart'|'kill'), or ignored files for backup
server_idYesShort server identifier
schedule_idYesNumeric schedule ID
time_offsetNoDelay in seconds (default 0)
continue_on_failureNoContinue next tasks if this fails (default false)

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 only declare readOnlyHint=false, so the write nature is already established. The description adds the useful behavioral fact that the task is appended to an existing schedule rather than creating a new one, but says nothing about what happens on failure, whether the task is enabled immediately, or any permission requirements. Adequate contextual addition, not rich.

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 zero filler, front-loading the verb and resource and ending with the scoping constraint. Every clause earns its place.

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?

There is no output schema, and the description does not indicate what is returned (e.g., a new task ID), which an agent may need for follow-up calls. For a six-parameter mutation tool with only readOnlyHint as annotation coverage, the description covers purpose and prerequisite but leaves return behavior and failure semantics implicit.

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 description coverage is 100%, so all six parameters are already documented in the schema, including the action enum and payload semantics. The description merely repeats the action values, which are already listed in the enum, and adds no new meaning for time_offset or continue_on_failure. Baseline 3 applies when the schema carries the parameter semantics.

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?

The description names a specific verb ('Add') and resource ('action task') and scopes it to 'an existing schedule', which separates it from create_schedule. It also enumerates the three action types, so an agent knows exactly what kind of task is being created. It stops short of naming the sibling update/delete task tools, so the differentiation is implicit rather than explicit.

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 phrase 'to an existing schedule' implies the prerequisite that a schedule must already exist, which is real usage guidance. However, there is no explicit statement about when to use this versus update_schedule_task or delete_schedule_task, no mention of how it differs from create_schedule, and no note about ordering constraints within a schedule.

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