Skip to main content
Glama

dokploy_deployment

List queued deployments, kill in-flight builds, read deployment logs, and remove deployment records for applications, compose services, servers, schedules, previews, backups, and volume backups.

Instructions

Manage deployments. list: applicationId|composeId|serverId|type+id. queueList: no params (currently-queued deployments). killProcess: deploymentId (kill an in-flight build). readLogs: deploymentId, tail?. remove: deploymentId (drops the record). Database deployments are listed via the resource itself, not here.

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_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoResource ID (used with type)
tailNoreadLogs: tail N lines (default 100)
typeNoResource type. The Dokploy API accepts only: application | compose | server | schedule | previewDeployment | backup | volumeBackup. Database deployments are listed via the resource itself, not here.
actionYes
serverIdNo
composeIdNo
deploymentIdNo
applicationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 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
  2. Changed2 schema fields changedv1.8.3
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "list",
      -  "killProcess"
      -]New value: +[
      +  "list",
      +  "queueList",
      +  "killProcess",
      +  "readLogs",
      +  "remove"
      +]
    • addedInput schema / properties / tail
      Added value: +{
      +  "description": "readLogs: tail N lines (default 100)",
      +  "maximum": 10000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  3. Changed1 schema field changedv1.7.4
    • addedInput schema / additionalProperties
      Added value: +false
  4. First observedv1.7.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the two mutating actions clearly ('killProcess: kill an in-flight build', 'remove: deploymentId (drops the record)'), which flags destructiveness and irreversibility. It does not cover permissions/auth requirements, whether queued items survive a list, or whether killing a process affects the deployment record. Useful behavioral signal, but far from complete for a five-action dispatcher with zero annotation coverage.

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 block, action-per-segment, front-loaded with the resource and then the discriminated sub-operations. Nothing is repeated from the schema verbatim and there is no filler; the telegraphic style fits a dispatch tool with many actions.

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 an eight-parameter, five-action tool with no output schema and no annotations, the description covers action selection and most parameter mapping but says nothing about what any action returns (list/queueList payloads, log format). Auth, rate, and pagination behavior are also absent. Adequate to call correctly in the common cases, incomplete for a tool of this complexity.

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%, so the description must compensate, and it largely does: it pairs applicationId, composeId, serverId, type+id, deploymentId and tail with the actions that consume them, and notes tail is optional for readLogs. Gaps remain - the '|' notation does not state whether the identifiers are alternatives or combinable, and the role of the standalone 'id' plus 'type' pairing is only implied. Substantially additive over the raw schema.

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 it manages deployments and then enumerates each of the five actions with the identifying parameter it needs, so an agent can map intent to action. It also explicitly says database deployments are listed via the resource itself rather than here, which rules out one plausible mis-selection. The header phrase 'Manage deployments' is generic, but the action breakdown carries the specificity.

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?

Gives per-action parameter routing ('list: applicationId|composeId|serverId|type+id', 'queueList: no params'), which implicitly tells when each action applies, and the database note excludes one wrong path. It never says when to prefer this tool over the sibling resource tools (e.g. using dokploy_application or dokploy_database to list deployments), so alternative selection is left to inference.

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