Skip to main content
Glama

dokploy_preview_deployment

List, inspect, remove, or redeploy per-PR and per-branch preview deployments tied to a parent application.

Instructions

Manage preview deployments (per-PR / per-branch deploys off a parent application). list: applicationId. get: previewDeploymentId. remove: previewDeploymentId. redeploy: previewDeploymentId (+title?, +description? for the deploy record).

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

Input Schema

NameRequiredDescriptionDefault
titleNo
actionYes
descriptionNo
applicationIdNo
previewDeploymentIdNo

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. Addedv1.8.3

TDQS

B3.3/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. It does not say that 'remove' is destructive or irreversible, does not state permission or auth requirements, and only obliquely hints that 'redeploy' creates a new deploy record (via the optional title/description). For a tool containing a delete action, that is a significant disclosure gap.

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?

The purpose is front-loaded in a single parenthetical clause, followed by a compact telegraphic action-to-parameter list that is easy to scan. Nothing is wasteful, though the fragment style is terse enough to risk misreading on first pass.

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 four-action tool with no annotations, no output schema, and five undocumented parameters, the definition covers invocation routing but not response shape, error conditions, or safety profile. It is sufficient to call the tool correctly in the happy path but leaves the agent guessing about results and consequences.

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 0%, so the description must compensate, and it largely does: all five parameters are mapped to the actions that consume them, and title/description are flagged as optional redeploy-record metadata. It stops short of describing ID formats or validity rules, but the action-to-parameter mapping adds real meaning beyond 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?

The description names the resource and defines it concretely: 'preview deployments (per-PR / per-branch deploys off a parent application)', which lets an agent distinguish this from plain deployment management without opening the schema. It does not explicitly point at the sibling dokploy_deployment tool, so sibling differentiation is only implied through the definition.

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 per-action parameter mapping (list: applicationId, get/remove: previewDeploymentId, redeploy: previewDeploymentId + optional title/description) effectively tells the agent which parameter each action needs. However, there is no guidance on when to choose preview deployments over the sibling deployment tool, no prerequisites (e.g. whether previews must be enabled), and no exclusions.

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