Skip to main content
Glama

Dockerhub Search Images

dockerhub_search_images
Read-onlyIdempotent

Search Docker Hub for container images by keyword. Returns repository name, description, pull count, star count, and official status. Use when finding images for deployment.

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": {
      "query": "nginx"
    },
    "name": "dockerhub_search_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results to return (default 10, max 100)
queryYesSearch query (e.g., "nginx", "postgres")

Output Schema

NameRequiredDescriptionDefault
totalYesTotal number of matching repositories
imagesYesList of matching Docker Hub repositories

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is fully covered. The description's enumeration of return fields partly duplicates the output schema, and it says nothing about pagination, result ranking, or rate limits beyond the schema's limit note.

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?

Three short sentences, front-loaded with the core action and no filler. The return-field sentence is the least essential given the output schema exists, but overall length is well matched to a simple tool.

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?

For a two-parameter read-only search with a full input schema, complete annotations, and an output schema, the definition covers what and when adequately. The only real gap is routing versus sibling image-detail tools, which is a usability issue rather than a correctness one.

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 both parameters (query, limit) are documented in-schema with defaults and max. The description adds no syntax, escaping, or filtering semantics beyond what the schema already provides, so the baseline of 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?

States a specific verb and resource ("Search Docker Hub for container images") plus the query mechanism (by keyword), and lists returned fields. It does not differentiate itself from the sibling dockerhub_get_image, so an agent must infer that this one is for discovery and the other for detail lookup.

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

Usage Guidelines3/5

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

"Use when finding images for deployment" gives a loose context, but there is no explicit when-not guidance and no named alternative for looking up a known image (dockerhub_get_image). Usage is implied rather than prescribed.

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.