Skip to main content
Glama

compose_up

Launch Docker Compose services in detached mode, with options for building, pulling images, and waiting until healthy.

Instructions

Bring up a Docker Compose project, detached.

Always runs detached (-d) so it can't block the server. Use compose_ps to confirm services are running, or wait=True to block until they're healthy.

args: project_dir - Dir with the compose file (default: server cwd, copied to the target host if no local plugin; paths verbatim, no shell expansion) files - Explicit compose file paths (repeatable, -f) project_name - Compose project name override profiles - Profiles to activate services - Specific services to bring up (default: all) build - Build images before starting pull - Pull strategy: "always", "missing", "never", or "policy" (compose default) remove_orphans - Remove containers for services not in the compose file wait - Block until services are healthy (adds --wait) timeout_seconds - Subprocess timeout (default 600s) returns: dict - {"returncode": int, "stdout": str, "stderr": str, "truncated": bool}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pullNo
waitNo
buildNo
filesNo
profilesNo
servicesNo
project_dirNo
project_nameNo
remove_orphansNo
timeout_secondsNo
Behavior4/5

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

The description discloses that it always runs detached and explains why ('so it can't block the server'). It also reveals path handling ('paths verbatim, no shell expansion') and what the `wait` parameter adds. Since annotations only provide readOnlyHint and destructiveHint, this extra context is valuable and does not contradict the annotations.

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?

The description is well-structured with a brief preface followed by a clear parameter list and return type. Every sentence adds value; the only minor redundancy is stating 'detached' twice, but it is reinforcing. For 10 parameters, the length is appropriate and not padded.

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

Completeness5/5

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

With no output schema, the description explicitly specifies the return dict format. With 10 parameters and zero schema descriptions, it provides comprehensive semantics and usage notes. The context signals indicate high complexity and low structured metadata, and the description addresses all of it effectively.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully compensates by documenting all 10 parameters with meaningful details: defaults (e.g., timeout_seconds default 600), enumerated values (pull strategy options), and effects (e.g., remove_orphans). This is a textbook example of the description carrying the parameter semantic burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a clear and specific verb+resource: 'Bring up a Docker Compose project, detached.' This distinguishes it from sibling tools like compose_down, compose_ps, and compose_build. The additional note about using compose_ps to confirm services further clarifies its unique role.

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?

It explicitly says 'Use `compose_ps` to confirm services are running, or `wait=True` to block until they're healthy,' giving clear follow-up guidance. It does not explicitly state when not to use it (e.g., for one-off commands use compose_run), so it lacks full exclusions, but the context is sufficient for a 4.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/L337-org/docker-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server