Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

list_containers

View running containers and optionally include stopped ones to check current container status.

Instructions

View running (and optionally stopped) containers.

In Apple Container 1.7.1+, `container list` hides `cluster` nodes even with `--all`
(and `-a`), and `start`, `stop`, `kill`, and `delete` report named cluster nodes as
not found. `inspect`, `logs`, `exec`, `stats`, and `clean` continue to work on named
cluster nodes; manage cluster lifecycle via the `container cluster` CLI plugin.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_containers"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_stoppedNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that stopped containers are only shown optionally, that `cluster` nodes are hidden even with `--all`, and that mutating commands fail on named cluster nodes. It omits output shape details, but an output schema exists, so that gap is acceptable.

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 purpose is correctly front-loaded in one clean sentence, but the second paragraph is nearly three times longer and devotes most of its text to `start`, `stop`, `kill`, and `delete` behavior on cluster nodes — commands this tool does not perform. It is valuable version-specific context, but oversized relative to the tool's own core behavior.

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 one-parameter list tool with an output schema and no annotations, the description covers the essentials and the main non-obvious edge case (cluster nodes being invisible to list). The only shortfall is that 'cluster node' is never defined and the `include_stopped` default is not spelled out.

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 single parameter `include_stopped` has 0% schema description coverage, so the description must compensate. '(and optionally stopped)' signals that stopped containers can be toggled, but it does not clarify that the default is true — i.e., that stopped containers are included unless explicitly excluded — leaving the parameter's practical effect slightly ambiguous.

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?

The first sentence names a specific verb and resource — 'View running (and optionally stopped) containers' — which is unambiguous and clearly distinct from siblings like list_images, list_volumes, and list_machines. It does not, however, explicitly contrast itself with prune_containers or inspect_container.

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 guidance is implied rather than stated: the description makes clear this is the read/view path for containers and warns that cluster lifecycle must go through the `container cluster` CLI plugin instead. There is no explicit when-to-use-this-vs-sibling guidance (e.g., why not inspect_container or prune_containers), so an agent must infer selection from names.

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