Skip to main content
Glama

Docker Hub Container Registry MCP

Search Docker Hub repositories

search_repositories
Read-onlyIdempotent

Search Docker Hub container images by keyword and return matching repositories with pull and star counts.

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

Input Schema

NameRequiredDescriptionDefault
pageNoResults page number (default 1).
limitNoMaximum repositories to return (default 15).
queryYesSearch keyword (e.g. "nginx", "postgres", "redis").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 covered. The description adds only the return fields (pull and star counts); it says nothing about result ordering, empty-result behavior, or pagination semantics beyond the 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?

A single front-loaded sentence with no filler; the search action and its result shape are stated in one pass.

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 simple three-parameter read-only search with full schema coverage and rich annotations, the definition covers what it does and what comes back. Only result ordering and pagination expectations are left unstated, which is a minor gap.

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%, with defaults and ranges documented for page and limit and an example-bearing query field, so the baseline is 3. The description's 'by keyword' merely restates the query parameter and adds no format or syntax detail beyond the schema.

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 uses a specific verb (Search) and resource (Docker Hub container images / matching repositories) and states the payload returned (pull and star counts). This clearly distinguishes it from the get_/list_ siblings, though it does not name them explicitly.

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?

'by keyword' implies the tool is for keyword discovery rather than fetching a known repository's details, but there is no explicit when-to-use/when-not or reference to the alternative get_repository_info. Usage is inferable rather than stated.

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.