Skip to main content
Glama

dokploy_schedule

Create, update, list, or run cron schedules that execute shell commands against applications, compose services, or servers.

Instructions

Manage cron schedules that run commands against applications, compose services, or servers. create: name+cronExpression+command (+ scheduleType and matching applicationId/composeId/serverId; shellType=bash|sh; script for multi-line; timezone). update: scheduleId + all fields. remove/get: scheduleId. list: id (parent id — applicationId|composeId|serverId|'dokploy-server') + scheduleType. runManually: scheduleId. scheduleType: application|compose|server|dokploy-server.

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": {
      "action": "<action>"
    },
    "name": "dokploy_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoParent resource id for list action
nameNo
actionYes
scriptNoOptional multi-line script body
commandNoShell command to execute
enabledNo
serverIdNo
timezoneNoIANA timezone name (e.g. America/New_York)
composeIdNo
shellTypeNo
scheduleIdNo
descriptionNo
serviceNameNoCompose service name when scheduleType=compose
scheduleTypeNo
applicationIdNo
cronExpressionNoStandard cron expression (e.g. '0 3 * * *')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.11.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / appName
      Removed value: -{
      -  "description": "Container appName (for application/compose scope)",
      -  "type": "string"
      -}
  2. Addedv1.8.3

TDQS

A3.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it never warns that these schedules execute arbitrary shell commands on servers, that runManually triggers immediate execution, or that remove is irreversible. It also omits the `enabled` and `description` fields entirely and leaves 'update: scheduleId + all fields' ambiguous about whether fields are replaced or merged.

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 with the purpose, then a dense per-action breakdown where nearly every fragment carries information, so it earns its length. The telegraphic 'action: params' style with pipes and parentheses is efficient but slightly cryptic to parse on first read.

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 16-parameter, six-action tool with no annotations and no output schema, the description covers the calling contract reasonably but leaves gaps: unmentioned parameters, ambiguous update semantics, and no hint of what list/get return. Adequate to invoke, but not complete enough to call confidently in edge cases.

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 only 38% across 16 parameters, and the description compensates well by spelling out the conditional link between scheduleType and the matching applicationId/composeId/serverId, the meaning of `id` as a parent-resource id for list, and the shellType/script relationship. Coverage is incomplete for enabled and description, and 'all fields' for update adds no real constraint.

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?

States the verb and resource plus scope in one line: cron schedules that execute commands against applications, compose services, or servers. It then enumerates all six actions (create/update/remove/get/list/runManually), so an agent knows exactly the surface of the tool without opening the schema.

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

Usage Guidelines4/5

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

Gives per-action guidance by specifying which parameters each action requires (create needs name+cronExpression+command; remove/get/runManually need scheduleId; list needs parent id plus scheduleType), which is effectively a usage map. It stops short of saying when *not* to use it or what prerequisites/permissions are needed before scheduling a command.

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