Skip to main content
Glama

list_containers

Lists Docker containers so agents can inspect what is running; set all=true to include stopped containers. Read-only access supports safe monitoring.

Instructions

List containers (running only unless all=true). Read-only.

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
allNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden; it does disclose 'Read-only' and the default running-only filter, which are meaningful behavioral facts. It omits anything about result ordering, limits, or how large the listing may be, so the burden is only partly met.

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?

Two short clauses, scope qualifier front-loaded and the read-only property stated last. There is no filler and every word carries 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?

The tool is simple with one optional boolean and an output schema that covers return values, so the description does not need to explain responses. Combined with the scope note and read-only claim, it is nearly complete, missing only size/ordering caveats.

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

Parameters4/5

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

Schema coverage is 0% and the lone parameter is titled only 'All' with default false; the description compensates by explaining that all=true widens the listing beyond running containers. That is exactly the meaning an agent needs to set the flag correctly.

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 description gives a specific verb and resource ('List containers') plus the default filtering scope, so an agent can distinguish it from siblings like list_images or list_compose_projects. It stops short of explicitly contrasting with inspection-oriented siblings such as inspect_container, which keeps it from a 5.

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 parenthetical '(running only unless all=true)' implies when to flip the flag, which is useful context for selection. However, there is no explicit when-to-use vs when-not guidance and no named alternative for deeper queries (e.g. events, stats, inspection).

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