Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Create Schedule Task

pterodactyl_create_schedule_task

Add a command, power action, or backup task to an existing Pterodactyl schedule with time offset and continue-on-failure options.

Instructions

Add a task to an existing schedule.

Task actions:

  • 'command': Runs a console command (payload is the command string)

  • 'power': Sends a power action (payload is start/stop/restart/kill)

  • 'backup': Creates a backup (payload is comma-separated ignored files or empty)

Args:

  • server (string): Server identifier

  • schedule (number): Schedule ID

  • action ('command' | 'power' | 'backup'): Task action type

  • payload (string): Action payload

  • time_offset (number): Seconds after schedule start (default: 0)

  • continue_on_failure (boolean): Continue subsequent tasks on failure (default: false)

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": "<server>",
      "schedule": "<schedule>",
      "action": "<action>",
      "payload": "<payload>"
    },
    "name": "pterodactyl_create_schedule_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesTask action: 'command' (console cmd), 'power' (start/stop/restart/kill), or 'backup'
serverYesServer identifier (short ID like 'abc12345')
payloadYesPayload: console command (if action='command'), power signal (if action='power'), or ignored files (if action='backup')
scheduleYesSchedule ID
time_offsetNoSeconds offset from schedule start (default 0)
continue_on_failureNoContinue subsequent tasks if this one fails

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, non-idempotent and open-world, so the safety profile is already carried; the description adds real behavioral content by explaining what each action actually does at execution time (console command, power signal, backup creation). It omits failure behavior, permission requirements, and what the POST returns, keeping it below a 5.

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 one-line purpose, then a scannable action table, then args. The only waste is the Args block, which repeats schema text nearly verbatim instead of adding context.

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 six-parameter mutating tool with no output schema, the description covers the action-type semantics that an agent most needs to build a valid call. Gaps are around return value, ordering relative to the schedule's start time, and permission prerequisites.

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 the schema already documents every parameter, and the Args block largely restates it. The action/payload pairing table is the one place the description adds interpretive value beyond the schema wording, but defaults and enum values are duplicated verbatim from structured fields.

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?

'Add a task to an existing schedule' gives a specific verb (add) and resource (task within a schedule), and the word 'existing' signals a schedule must already be present, separating it from pterodactyl_create_schedule. It stops short of naming any sibling as an alternative, so an agent must infer routing from names alone.

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 phrasing 'existing schedule' implies the prerequisite (create the schedule first) but never states it explicitly, nor does it point to pterodactyl_update_schedule or pterodactyl_delete_schedule when a task exists but needs changing or removal. Usage is inferable rather than stated.

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