Skip to main content
Glama

List images

docker_list_images
Read-onlyIdempotent

Lists Docker container images in the default or a named context, so you can inspect available images before running or managing containers.

Instructions

Invoke the list_images operation.

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_list_images"
  }
}

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.2/5.0
Behavior2/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered, but the description contributes nothing beyond them: no statement of whether all images or only tagged ones are returned, no ordering, and no mention of the Docker daemon being contacted. It is consistent with the annotations, just empty.

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

Conciseness2/5

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

It is a single short sentence with no padding, but brevity here reflects under-specification rather than economy: the one sentence conveys no information the tool name did not already convey, so it does not earn its place.

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?

The tool is simple (one optional param, rich annotations), but with no output schema the description is the only place an agent could learn what a listing returns. It supplies nothing about the response shape or the meaning of results, leaving the definition thin for even a simple listing tool.

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 optional 'context' parameter is fully documented in the schema (100% coverage), including the default behavior when omitted, so the schema carries the semantic load. The description adds no meaning beyond it, which is the baseline case for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Invoke the list_images operation" only restates the tool name and title, adding no resource detail (Docker images), scope, or distinguishing information. It never separates this tool from siblings such as k8s_list_images, podman_list_images, or docker_prune_images.

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 mention of the alternative listing tools for other runtimes, and no note that this is the non-destructive read counterpart to docker_prune_images. The agent must infer all routing decisions from the name alone.

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