Skip to main content
Glama

Pull image

docker_pull_image

Pull a container image from a registry into a selected context for Docker, Podman, or Kubernetes workloads, with optional platform and tag settings.

Instructions

Invoke the pull_image operation.

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": {
      "image": "<image>"
    },
    "name": "docker_pull_image"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

D1.6/5.0
Behavior2/5

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

Annotations already declare openWorldHint=true, readOnlyHint=false, and destructiveHint=false, so the description's only job is to add context such as registry auth requirements, network latency, or what happens on tag conflicts — none of which it does. It does not contradict the annotations (pulling is a non-destructive mutation that reaches outside the host), so no contradiction flag, but the added value is essentially zero.

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, so nothing is bloated, but brevity here is under-specification rather than conciseness — there is no front-loaded statement of effect, scope, or outcome to anchor the call.

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

Completeness1/5

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

For a four-parameter, open-world mutation tool with no output schema and 25% schema coverage, the description should explain what a successful pull produces and how image/tag/platform interact. It omits all of this, so an agent cannot call it correctly without reading the raw schema and guessing.

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

Parameters1/5

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

Schema description coverage is only 25%, and the description supplies no parameter meaning at all: the required 'image' name format, the 'tag' default of 'latest' and its override behavior, the 'platform' selector, and the 'context' parameter are all left entirely to the schema, which documents only 'context'.

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 pull_image operation" merely restates the tool name (docker_pull_image) in different words and never says what pulling an image means for the user (fetching an image from a registry into the local Docker daemon). It also fails to distinguish this from the sibling k8s_pull_image or podman_pull_image, leaving the agent to infer the difference from the name alone.

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

Usage Guidelines1/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 (registry authentication, network access), and no mention of the closely named alternatives (k8s_pull_image, podman_pull_image) or when one would be preferred over another.

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