Skip to main content
Glama

Docker config list

docker_config_list

List Docker Swarm configs for a specified multi-context pool or the default context, enabling inspection of available configuration objects.

Instructions

List swarm configs (real configs.list).

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": "docker_config_list"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare openWorldHint=true and destructiveHint=false, so the safety profile is largely covered. The description adds only that it is a "real" API call; it says nothing about required daemon/swarm access, whether the result is paginated, or what the entries contain. Note the mild tension between a "list" operation and readOnlyHint=false, though this is plausibly conservative annotation for remote daemon access rather than a true contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence, front-loaded with the verb and resource, with zero filler. The trailing ``configs.list`` reference is mildly jargon-y and adds little for an agent that cannot call the raw API directly.

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

Completeness3/5

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

For a simple single-parameter list tool with no output schema, the description is minimally adequate, but it omits what the returned configs look like (IDs, names, labels) and any precondition such as swarm mode being active. An agent can select the tool but has little basis for interpreting results.

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?

There is a single optional parameter with 100% schema description coverage, so the schema already explains the multi-context pool selection. The description contributes nothing additional about the context parameter, which is acceptable at full coverage but no better than baseline.

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?

"List swarm configs" states a specific verb and resource, and the parenthetical "real configs.list" pins it to the actual Docker API call rather than a cached/derived view. It does not explicitly contrast itself with docker_config_create or docker_secret_list, so sibling differentiation relies on the names alone.

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

Usage Guidelines2/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 (e.g., swarm must be initialized), and no mention of alternatives such as inspecting a single config or listing secrets. The agent must infer usage purely from the tool name.

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