Skip to main content
Glama

hub_repo_info

Read-only

Fetch Docker Hub metadata for any public repository, including star count, pull count, description, and last updated. Use this to inspect repository details without needing local Docker access.

Instructions

Fetch Docker Hub metadata for a repository.

Public repos only: sends no auth and does NOT read the local Docker credential store; private repos return 404/401. Hub-only metadata (stars, pulls, description) — use registry_tags for tag lists on any OCI registry and hub_tags for Hub tag details.

args: repository - Hub repository, e.g. "library/alpine" or "myorg/myimage" returns: dict - The Hub /v2/repositories// response (description, star_count, pull_count, last_updated, is_private, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repositoryYes
Behavior5/5

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

Goes well beyond annotations by disclosing auth behavior ('sends no auth and does NOT read the local Docker credential store') and failure modes for private repos. ReadOnlyHint annotation is consistent with the read-only nature described, with no contradiction.

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?

Every sentence earns its place: a one-line summary, a concise behavioral note with alternatives, and a structured args/returns block. No fluff, well-organized, and scannable.

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?

Despite no output schema, the description lists typical return fields ('description, star_count, pull_count, last_updated, is_private, etc.'), covers auth/error behavior, and contextualizes alternatives. Fully sufficient for a simple metadata-fetch tool.

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?

With 0% schema description coverage, the description fully compensates by explaining the `repository` parameter with examples ('library/alpine' or 'myorg/myimage'), adding format and naming conventions beyond the bare schema.

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?

Description opens with a specific verb+resource pair: 'Fetch Docker Hub metadata for a repository.' It distinguishes from siblings by explicitly redirecting tag-related queries to `registry_tags` and `hub_tags`, making the tool's unique scope clear.

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?

Provides explicit usage constraints ('Public repos only', 'private repos return 404/401') and explicitly names alternatives for different needs ('use registry_tags for tag lists... hub_tags for Hub tag details'). This is clear when-to-use and when-not-to-use guidance.

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