Skip to main content
Glama

Compose up

docker_compose_up

Start Docker Compose services from a specified compose file, with options to build images, run detached, and target a named context.

Instructions

Invoke the compose_up operation.

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_file": "<compose_file>"
    },
    "name": "docker_compose_up"
  }
}

Input Schema

NameRequiredDescriptionDefault
buildNo
detachNo
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.
compose_fileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

D1.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, so the description's only job is added context, and it supplies none. It doesn't explain that detach defaults to true (running in background), that build rebuilds images, or that context selects a Docker context pool — all behaviors an agent needs before invoking a mutating, open-world operation.

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?

One short sentence with no filler, so it is concise and front-loaded. However, the brevity reflects under-specification rather than efficiency — there is no structure or detail to convey the operation's effect.

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

Completeness1/5

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

For a tool with a required compose_file, a documented default (detach=true), an open-world annotation, and no output schema, the description omits essentially everything. An agent could not call this correctly on the description alone.

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

Parameters1/5

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

Schema description coverage is only 25% (only 'context' has a description), yet the description explains no parameters at all. It says nothing about the required compose_file, the build flag, or the detach default, so the least-documented parameters remain undocumented in both places.

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

Purpose2/5

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

"Invoke the compose_up operation" restates the tool name without adding a verb or resource description. It never says what compose_up actually does (build/start containers from a compose file), so an agent cannot distinguish the effect from siblings like docker_compose_down or docker_compose_ps.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives or when not to use it. The agent is given nothing to decide between this and the down/logs/ps siblings.

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

Deploy Server

Other Tools