Skip to main content
Glama

compose_up

Start Docker Compose services defined in a docker-compose.yml file. Optionally build images and run in detached mode.

Instructions

Bring up Docker Compose services from a docker-compose.yml file. Optionally build images first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to docker-compose.yml file or its parent directory
buildNoBuild images before starting (default: false)
detachNoRun in detached mode (default: true)
servicesNoSpecific services to start
Behavior2/5

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

With no annotations, the description carries full burden for behavioral disclosure. It mentions optional image building but does not explain that the tool creates or updates containers, networks, and volumes, or what happens to existing services (e.g., recreation). This is insufficient for a mutation operation.

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 a single, well-structured sentence that communicates the core action and a key option. It is efficiently written with no unnecessary words.

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

Completeness2/5

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

Given no output schema and the complexity of Docker Compose orchestration, the description is too sparse. It does not mention service dependencies, volume/networking behavior, or how it differs from building or running individual containers. More context is needed for correct invocation.

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

Parameters3/5

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

The input schema provides 100% coverage with clear descriptions for all four parameters. The description adds only brief context about optional image building, which repeats the schema. Baseline 3 is appropriate as the schema does the heavy lifting.

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 clearly states the verb 'Bring up' and resource 'Docker Compose services from a docker-compose.yml file'. It effectively distinguishes from sibling tools like compose_down and compose_restart, which handle different lifecycle operations.

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?

No guidance is provided on when to use this tool versus alternatives (e.g., start_container for single containers or run_container for ad-hoc runs). The description lacks explicit context for preferred usage or exclusions.

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/friendlygeorge/docker-mcp-server'

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