Skip to main content
Glama

docker_compose

Manage Docker Compose services: start, stop, build, view logs, and execute commands for multi-container applications using compose files.

Instructions

Manage Docker Compose services

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesDocker Compose action to perform
serviceNoSpecific service to target
fileNoDocker Compose file path (default: docker-compose.yml)
detachNoRun in background (for up action)
buildNoBuild images before starting (for up action)
force_recreateNoForce recreate containers
remove_orphansNoRemove containers for services not defined in compose file
followNoFollow log output (for logs action)
tailNoNumber of lines to show from end of logs
commandNoCommand to execute (for exec action)
project_nameNoProject name for compose stack
Behavior2/5

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

No annotations provided, and the brief description does not disclose behavioral traits beyond the action names. For example, 'down' may destroy containers/networks but this is not stated. The tool relies entirely on the schema which lacks behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise but overly vague. It could be more informative without being verbose, e.g., listing key actions or constraints.

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 the tool's complexity (11 parameters, 10 actions, no output schema), the description is inadequate. Missing details like side effects of actions, required Docker Compose installation, and the impact of missing required parameters beyond 'action'.

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?

Schema coverage is 100% so the schema already documents parameters. The description adds no additional meaning to parameters. Baseline 3 is appropriate.

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?

Description 'Manage Docker Compose services' is somewhat generic but the schema's action enum (up, down, build, etc.) clarifies the tool's purpose. Distinguishes from sibling tools like docker_build or docker_containers by focusing on compose orchestration.

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 on when to use this tool versus alternatives like docker_run, docker_build, or docker_containers. The description does not state prerequisites or typical scenarios.

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/agentics-ai/code-mcp'

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