Skip to main content
Glama

dokploy_mounts

Manage volumes, bind mounts, and files attached to Dokploy services: create, update, remove, get, or list mounts by service; redeploy the parent service for changes to take effect.

Instructions

Manage mounts (volumes, bind mounts, files) attached to services. Mount changes require a redeploy of the parent service to take effect. create: type+mountPath+serviceId+serviceType (+volumeName for volume, +hostPath for bind, +filePath+content for file). update: mountId (+type, mountPath, volumeName, hostPath, filePath, content — a mount cannot be moved to another service). remove: mountId. get: mountId. listByServiceId: serviceType+serviceId. allNamedByApplicationId: applicationId (named volumes only). serviceType: application|postgres|mysql|mariadb|mongo|redis|compose|libsql.

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

Input Schema

NameRequiredDescriptionDefault
typeNobind | volume | file
actionYes
contentNoFile contents for type=file
mountIdNo
filePathNoRequired for type=file
hostPathNoRequired for type=bind
mountPathNoPath inside the container
serviceIdNoID of the service the mount attaches to
volumeNameNoRequired for type=volume
serviceTypeNo
applicationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 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 / composeId
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / libsqlId
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / mariadbId
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / mongoId
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / mysqlId
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / postgresId
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / redisId
      Removed value: -{
      -  "type": "string"
      -}
  2. Changed25 schema fields changedv1.7.4
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / applicationId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / applicationId / type
      Added value: +"string"
    • removedInput schema / properties / composeId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / composeId / type
      Added value: +"string"
    • removedInput schema / properties / content / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / content / type
      Added value: +"string"
    • removedInput schema / properties / filePath / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / filePath / type
      Added value: +"string"
    • removedInput schema / properties / hostPath / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / hostPath / type
      Added value: +"string"
    • removedInput schema / properties / libsqlId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / libsqlId / type
      Added value: +"string"
    • removedInput schema / properties / mariadbId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / mariadbId / type
      Added value: +"string"
    • removedInput schema / properties / mongoId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / mongoId / type
      Added value: +"string"
    • removedInput schema / properties / mysqlId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / mysqlId / type
      Added value: +"string"
    • removedInput schema / properties / postgresId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / postgresId / type
      Added value: +"string"
    • removedInput schema / properties / redisId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / redisId / type
      Added value: +"string"
    • removedInput schema / properties / volumeName / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / volumeName / type
      Added value: +"string"
  3. First observedv1.7.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real value: mount changes require a parent-service redeploy, updates cannot move a mount to another service, and allNamedByApplicationId covers named volumes only. It is silent on whether remove destroys data, permission/auth requirements, and what any action returns.

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?

Front-loads purpose, then the single most important behavioral caveat (redeploy), then a compact action→params digest. Every clause carries information; nothing is redundant filler.

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 11-parameter, six-action mutation tool with no annotations and no output schema, the description covers inputs and the redeploy constraint but leaves return values, error cases, and the destructive consequences of remove unaddressed. Adequate, but a mutating volume tool warrants more.

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 64%, and the description compensates by mapping parameters to actions conditionally (type+mountPath+serviceId+serviceType for create, plus volumeName/hostPath/filePath+content per type; mountId for update/remove/get; serviceType+serviceId for list). That conditional dependency is not expressed in the schema and is the most valuable part of the text.

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?

Opens with a specific verb+resource: 'Manage mounts (volumes, bind mounts, files) attached to services', then enumerates all six actions with their required parameters. That is enough to distinguish it from siblings like dokploy_docker_volume or dokploy_application, though it never names an alternative to contrast against.

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 action-by-action parameter list effectively acts as a routing table (create/update/remove/get/listByServiceId/allNamedByApplicationId), and the redeploy note tells the agent a prerequisite for changes to take effect. It stops short of explicit when-not-to-use guidance or pointing at a sibling for volume-level operations.

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