Skip to main content
Glama

stop_compose

DestructiveIdempotent

Stops a running compose service by ID, taking its containers down while preserving volumes and the compose record for later restart.

Instructions

Stop a compose service. Containers go down. Volumes and the compose record stay.

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_id": "<compose_id>"
    },
    "name": "stop_compose"
  }
}

Input Schema

NameRequiredDescriptionDefault
compose_idYescomposeId from list_compose_services or get_project.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds the crucial scope of destruction: containers go down while volumes and the compose record survive. That tells the agent exactly what is lost versus preserved, which the annotations cannot express. It stops short of noting whether the service can be brought back with start_compose or how long the stop takes.

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?

Three short sentences, zero filler, with the action front-loaded and the persistence caveat immediately after. Nothing could be removed without losing information.

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

Completeness4/5

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

For a single-parameter mutation tool with rich annotations and an output schema, the description covers the essential ambiguity of what survives a stop. A minor gap is the absence of any note on reversibility or the resulting service state, though the output schema likely carries the response detail.

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% and the single compose_id parameter already documents its source (list_compose_services or get_project). The description adds no further meaning about the identifier, so the baseline of 3 applies.

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?

"Stop a compose service" is a specific verb plus resource, and naming the resource as a compose service separates it from stop_application in the sibling list. An agent can tell what it does without opening the schema.

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?

Usage is only implied: the tool stops a running compose service, so it is the choice when halting rather than restarting or redeploying. It never explicitly contrasts with restart_compose, redeploy_compose, or stop_application, nor does it state preconditions such as the service needing to be running.

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