Skip to main content
Glama

image_pull

Fetches a repository image into local Docker storage, allowing tag, all-tags, and platform options.

Instructions

Pull an image from a registry to the daemon's local store.

Private repositories need credentials — system_login (or docker login on the host) first. Use image_load for tarballs, and registry_manifest / image_registry_data to inspect a remote image without pulling it.

args: repository - The image repository tag - The image tag (ignored when all_tags=True) all_tags - Pull all tags from the repository platform - Platform in os/arch format returns: dict | list - Pulled image attrs (or a list of attrs if all_tags=True)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNo
all_tagsNo
platformNo
repositoryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, so the mutation is already known. The description adds valuable context about credential requirements for private repos and the return format (dict or list), going beyond the annotations. It does not go into side effects like overwriting existing images, but for this tool the provided context is adequate.

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?

The description is concise and well-structured: a clear opening statement, a credential note, alternatives, parameter list, and returns. Every sentence adds value with no redundancy or filler.

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

Completeness5/5

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

For a tool with four parameters and an output schema, the description covers purpose, usage conditions, alternatives, parameter semantics, and return values. It provides all necessary operational context without requiring additional information.

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

Parameters5/5

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

The schema has 0% description coverage, so the description fully compensates by explaining each parameter (repository, tag, all_tags, platform) and the interaction between tag and all_tags (tag is ignored when all_tags=True). The returns section also clarifies the output shape.

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

Purpose5/5

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

The description clearly states the verb 'Pull' and the resource 'an image from a registry to the daemon's local store', which is specific and distinguishes it from sibling tools like image_load (tarballs) and registry_manifest (remote inspection).

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

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly notes that private repositories need credentials via system_login or docker login, and explicitly recommends image_load for tarballs and registry_manifest/image_registry_data for remote inspection, providing clear when-to-use and alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/L337-org/docker-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server