Skip to main content
Glama

Dockerhub Get Image

dockerhub_get_image
Read-onlyIdempotent

Get detailed metadata for a Docker Hub repository: description, pull count, stars, last updated date, and official status. Use before pulling an image to verify quality and currency.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "nginx",
      "namespace": "library"
    },
    "name": "dockerhub_get_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRepository name (e.g., "nginx", "redis")
namespaceYesRepository namespace, use "library" for official images (e.g., "library", "bitnami")

Output Schema

NameRequiredDescriptionDefault
pullsYesTotal number of pulls
starsYesTotal number of stars
hub_userYesHub user or organization that owns the repository
full_nameYesFull repository name (namespace/name)
is_privateYesWhether the repository is private
descriptionYesShort description of the image
last_updatedYesISO timestamp of last update
full_descriptionYesFull detailed description of the image

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / namespace / description
      Previous value: -"Repository namespace — use \"library\" for official images (e.g., \"library\", \"bitnami\")"New value: +"Repository namespace, use \"library\" for official images (e.g., \"library\", \"bitnami\")"
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered by structured data. The description adds only the framing that this is a pre-pull quality check; it says nothing about behavior for unknown repositories, rate limits, or auth needs, and the field list it provides is duplicated by the output schema.

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 sentences, front-loaded with the purpose and followed by the usage cue, with no filler. Every clause carries information an agent can act on.

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?

With rich annotations, a fully documented two-parameter schema, and an output schema covering return values, the description needs only purpose and usage, both of which it supplies. Minor gaps like missing-repository behavior are low-stakes for a read-only metadata lookup.

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?

Schema description coverage is 100%, and the schema already explains both parameters, including the instruction to use "library" for official images. The description contributes no additional meaning about parameter formats, casing, or how namespace and name combine, so baseline 3 applies.

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 ("Get detailed metadata for a Docker Hub repository") and enumerates the returned fields (description, pull count, stars, last updated, official status). It does not explicitly contrast with sibling tools such as dockerhub_search_images or get_tags, so the agent must infer the split between lookup and search.

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

Usage Guidelines4/5

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

It supplies a clear usage context: "Use before pulling an image to verify quality and currency," which tells the agent when this tool is the right one. It stops short of naming alternatives or stating when not to use it (e.g., when you only need tags, use get_tags).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.