Skip to main content
Glama

redeploy_compose

Redeploy a compose service from its current file and source while keeping existing volumes, so updates apply without data loss.

Instructions

Redeploy a compose service from its current file and source. Volumes are kept.

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": "redeploy_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.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the mutation profile is covered. The description's 'Volumes are kept' is a genuinely useful data-preservation detail beyond the annotations, but it says nothing about downtime, rebuild behavior, or whether title/description are applied on redeploy.

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?

Two short sentences with no filler, and the action is front-loaded. The trailing 'Volumes are kept' is compact and high-value rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be explained, and the annotations carry the safety profile. What remains missing is whether the optional title/description are applied and whether the redeploy causes downtime – moderate gaps for a mutation tool, not fatal ones.

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 no meaning about any parameter, so it fails to compensate for the coverage gap.

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?

Names a specific verb ('Redeploy') and resource ('a compose service') plus the source used ('its current file and source'), which separates it from a fresh deploy. It does not explicitly distinguish itself from restart_compose or deploy_compose by name, so an agent must still infer the boundary.

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 only implied by the phrase 'from its current file and source' – i.e. use this when the configuration already exists and you don't want to push new source. There is no explicit when-not guidance and no sibling alternative (restart_compose, deploy_compose) is named.

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