Skip to main content
Glama

dokploy_backup

Create, schedule, update, remove, and manually run database, compose stack, or server backups; list backup files and manage backup settings.

Instructions

Manage backups. create: schedule+prefix+destinationId+database+databaseType. Provide ONE service id matching databaseType: postgres→postgresId, mysql→mysqlId, mariadb→mariadbId, mongo→mongoId, libsql→libsqlId, web-server→(no id). For backups of a db running inside a compose stack: pass composeId+serviceName (and set databaseType to the engine, e.g. postgres). Optional on create/update: includeEncryptionKey to store the database encryption key with the backup. get: backupId. update: backupId+fields. remove: backupId. listFiles: destinationId. manualBackup: backupId+backupType (postgres|mysql|mariadb|mongo|libsql for db backups; compose for whole-stack; webServer for the dokploy server itself).

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

Input Schema

NameRequiredDescriptionDefault
actionYes
prefixNo
searchNo
enabledNo
mongoIdNo
mysqlIdNo
backupIdNo
databaseNo
libsqlIdNo
scheduleNoCron expression
serverIdNo
composeIdNo
mariadbIdNo
backupTypeNoManual-backup target: postgres | mysql | mariadb | mongo | compose | libsql | webServer
postgresIdNo
serviceNameNo
databaseTypeNopostgres | mariadb | mysql | mongo | web-server | libsql
destinationIdNo
keepLatestCountNo
includeEncryptionKeyNoStore the database encryption key alongside the backup

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.8.3
    • addedInput schema / properties / includeEncryptionKey
      Added value: +{
      +  "description": "Store the database encryption key alongside the backup",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changedv1.7.4
    • addedInput schema / additionalProperties
      Added value: +false
  4. First observedv1.7.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses some behavior (encryption key storage is optional, compose-stack backups need composeId+serviceName, listFiles is scoped to a destination), but says nothing about the destructive nature of remove, permission/auth requirements, whether create requires a pre-existing destination, or what listFiles/manualBackup produce.

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 text is front-loaded with the resource then organized by action, and nearly every token carries parameter information with no filler. The plus-sign shorthand ("create: schedule+prefix+destinationId...") is terse to the point of being cryptic but remains scannable.

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 20-parameter, six-action tool with no annotations and no output schema, the description covers the action→parameter mapping well but omits roughly a third of the parameters and gives no indication of return values or side effects. Adequate to call the tool, insufficient to call it 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 20% across 20 parameters, yet the description compensates strongly by mapping each databaseType value to its concrete id parameter (postgres→postgresId, etc.) and explaining the composeId+serviceName alternative for databases inside a compose stack. It still leaves prefix, search, enabled, serverId, keepLatestCount, and database unexplained, so it is not complete.

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 states the resource (backups) and enumerates the six supported actions (create, get, update, remove, listFiles, manualBackup), so an agent can map intent to action. It does not distinguish this from dokploy_volume_backup or explain that these are database/stack backups rather than volume backups, leaving the sibling boundary implicit.

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?

Usage is conveyed indirectly through the per-action parameter recipes and the databaseType routing rule, which tells the agent how to invoke each action. There is no explicit when-to-use guidance, e.g. create (scheduled) versus manualBackup (on-demand), and no exclusions or prerequisites such as destination setup.

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