Skip to main content
Glama

dokploy_domain

Create, list, update, validate, or delete Dokploy application and compose domains, including DNS checks, Traefik generation, and enabling or disabling domains.

Instructions

Manage domains. create: host+applicationId|composeId(+serviceName for compose). list: applicationId|composeId. get: domainId. update: domainId+host (include composeId+serviceName for compose domains). delete: domainId. toggleEnable: domainId — flips the enable flag blind; prefer update with enabled:true|false when you need a known end state. generate: appName. canGenerateTraefikMe: serverId?. validate: domain, serverId? (checks DNS against that server's IPs; omit for the Dokploy host).

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

Input Schema

NameRequiredDescriptionDefault
hostNo
pathNo
portNo
httpsNo
actionYes
domainNo
appNameNo
enabledNoupdate only: enable or disable the domain
domainIdNo
serverIdNo
composeIdNo
domainTypeNocompose | application | preview
serviceNameNo
applicationIdNo
certificateTypeNoletsencrypt | none | custom

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. Changed1 schema field changedv1.10.0
    • removedInput schema / properties / serverIp
      Removed value: -{
      -  "type": "string"
      -}
  3. Changed2 schema fields changedv1.9.1
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "create",
      -  "list",
      -  "get",
      -  "update",
      -  "delete",
      -  "generate",
      -  "canGenerateTraefikMe",
      -  "validate"
      -]New value: +[
      +  "create",
      +  "list",
      +  "get",
      +  "update",
      +  "delete",
      +  "toggleEnable",
      +  "generate",
      +  "canGenerateTraefikMe",
      +  "validate"
      +]
    • addedInput schema / properties / enabled
      Added value: +{
      +  "description": "update only: enable or disable the domain",
      +  "type": "boolean"
      +}
  4. Changed1 schema field changedv1.7.4
    • addedInput schema / additionalProperties
      Added value: +false
  5. First observedv1.7.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does add genuine behavioral detail: toggleEnable's blind flip, validate's DNS-vs-server-IP check, and the compose serviceName requirement. It says nothing about what delete removes (certificate? DNS record? application binding), whether create is idempotent, or what permissions are needed for these mutations. For a tool containing destructive and write actions with zero annotation coverage, that is a meaningful 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 action-by-action layout is tightly front-loaded and wastes almost no words; each clause pairs an action with its arguments. The telegraphic notation ('|', '?', '+') is compact and mostly decodable, though it costs some readability for an agent parsing requirements precisely.

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 15-parameter, nine-action tool with no annotations and no output schema, the action-to-parameter mapping is the essential piece and it is present. Missing pieces are the semantics of the unexplained creation parameters (https, port, path, certificateType, domainType), the consequences of delete, and any indication of return values. Adequate to invoke the common paths, incomplete for the full action surface.

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 only 20% across 15 parameters, so the description must compensate — and it partially does by mapping each action to its required identifiers (host+applicationId|composeId, domainId, appName, domain, serverId). Many parameters remain unexplained in both places: path, port, https, certificateType, domainType, and the '+serviceName for compose' rule is stated for create but only parenthetically for update. Partial compensation justifies a mid score.

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 opening 'Manage domains' is generic, but the action list immediately makes the resource and the operation set concrete (create/list/get/update/delete/toggleEnable/generate/canGenerateTraefikMe/validate). An agent can tell this is the domain lifecycle tool rather than a deployment or project tool. It stops short of explicitly contrasting with adjacent siblings like dokploy_redirects or dokploy_application.

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?

The description gives per-action guidance, most valuable being 'toggleEnable ... flips the enable flag blind; prefer update with enabled:true|false when you need a known end state', which is an explicit when-to-use-this-vs-that rule inside the tool. It also clarifies 'omit for the Dokploy host' for validate's serverId. It lacks guidance on when to reach for this tool versus sibling tools such as redirects or application-level domain settings.

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