Skip to main content
Glama

deploy_compose

Deploy a Docker Compose service while keeping existing volumes. Set an optional title and description to manage compose deployments without erasing persistent data.

Instructions

Deploy a compose service. Existing volumes are kept.

Dokploy can wipe volumes with freshVolumes. This server does not expose that flag.

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": {
      "compose_id": "<compose_id>"
    },
    "name": "deploy_compose"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
compose_idYescomposeId from list_compose_services or get_project.
descriptionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses a real behavioral trait: existing volumes are preserved and the volume-wiping freshVolumes flag is deliberately not exposed by this server. That tells the agent the deployment will not destroy persistent data, which the annotations alone (destructiveHint=false) only imply. It stops short of saying whether the deployment is queued or synchronous, or what auth/permissions are needed.

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?

Very short and the core action is front-loaded in the first sentence. The trailing fragment about freshVolumes is slightly disjointed in structure but carries useful content, so there is little genuine waste.

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?

With an output schema present, return values need no explanation, and annotations cover the safety profile. However, for a mutation tool with two undocumented optional parameters and no routing guidance versus four sibling deploy/restart/redeploy tools, the definition is thinner than the complexity warrants.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: compose_id is documented in the schema, but title and description have no explanation anywhere. The description adds nothing about these parameters, so the agent is left to infer whether title/description are labels for the deployment, overwrites of service metadata, or optional annotations.

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?

"Deploy a compose service" is a specific verb plus resource, so the agent knows exactly what action is taken. It does not, however, distinguish this from redeploy_compose or restart_compose, which are the closest siblings in the catalog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to choose this over redeploy_compose, restart_compose, or deploy_application, nor any prerequisite or trigger condition. The only guidance is a caveat about volumes, which is not about tool selection.

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