Skip to main content
Glama
zskycode
by zskycode

compose_down

Stop and remove Docker Compose services, optionally deleting named volumes and orphan containers to clean up your environment.

Instructions

Stop and remove Docker Compose services

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoPath to docker-compose.yml file
volumesNoRemove named volumes declared in the volumes section
projectNameNoSpecify project name
removeOrphansNoRemove containers for services not defined in the Compose file

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of explaining the tool's destructive behavior. While 'stop and remove' signals some destructive action, it does not disclose that this also removes associated networks, that volumes are only removed when the volumes parameter is set, or that orphan containers may be removed based on removeOrphans.

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, compact sentence with no filler or redundant phrasing. The core action is front-loaded and immediately understandable.

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 that this is a destructive operation with no annotations and no output schema, the one-line description is not complete enough for an agent to safely reason about consequences. Information about what gets removed by default, when to avoid this tool, and how the projectName parameter scopes the operation is missing.

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 has 100% parameter description coverage, so the schema already explains all four parameters. The tool description provides no additional parameter-level context about how file, volumes, projectName, or removeOrphans affect the teardown behavior, so it does not elevate the baseline.

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 uses a specific verb phrase, 'Stop and remove Docker Compose services,' which clearly identifies the operation and resource. It is easily distinguished from siblings like compose_up, compose_ps, compose_logs, and compose_build, and from stop_container/remove_container which target individual containers rather than a Compose-managed group.

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?

The description implies usage for tearing down a Docker Compose stack, but it does not explicitly state when to choose this tool over alternatives such as stop_container or remove_container. There are no exclusions or conditions given, so an agent must infer the intended use from the name and sibling context.

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

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

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