Skip to main content
Glama

Get Image Info

get_image_info
Read-onlyIdempotent

Repository facts: official status, pulls, stars, whether it is archived.

Use to judge whether an image is the canonical one and still maintained. Archived images still pull but receive no security patches.

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

Input Schema

NameRequiredDescriptionDefault
nameYesDocker image name as you would write it in a FROM line: "node", "postgres", "grafana/grafana". Official images may omit the "library/" prefix.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "description": {
      -      "nullable": true,
      -      "type": "string"
      -    },
      -    "exists": {
      -      "type": "boolean"
      -    },
      -    "hub_url": {
      -      "description": "Page a human can open.",
      -      "type": "string"
      -    },
      -    "image": {
      -      "type": "string"
      -    },
      -    "is_archived": {
      -      "description": "Archived images still pull but receive no further updates, including security patches.",
      -      "type": "boolean"
      -    },
      -    "last_updated": {
      -      "nullable": true,
      -      "type": "string"
      -    },
      -    "official": {
      -      "description": "True for Docker Official Images (the \"library\" namespace).",
      -      "type": "boolean"
      -    },
      -    "pulls": {
      -      "nullable": true,
      -      "type": "integer"
      -    },
      -    "stars": {
      -      "nullable": true,
      -      "type": "integer"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered structurally. The description contributes non-obvious domain behavior: archived images still pull but receive no security patches, which materially changes how an agent should interpret and act on the result. It omits any note on freshness, rate limits, or what happens for a nonexistent image name.

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 short sentences: the returned facts first, then the selection rationale and the key caveat. No filler, no repetition of the title or schema, and the most decision-relevant caveat (archived = unpatched) is included without bloat.

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 one-parameter read-only lookup with rich annotations and no output schema, the description covers purpose, usage trigger, and return contents closely enough to call it correctly. Minor gap: it does not say how an unknown/non-existent image name is reported, which matters since there is no output schema to consult.

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 single 'name' parameter is well documented with FROM-line syntax and the 'library/' prefix nuance. The description adds no parameter-level meaning beyond the schema, so the 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 names a specific resource ('Repository facts') and enumerates its contents: official status, pulls, stars, archived flag, tied to a Docker image. The verb is implicit ('retrieve/report'), but the resource and field set make the operation unambiguous, and it is clearly distinct from check_image_tag and list_image_tags, which operate on tags rather than image-level metadata.

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 gives an explicit decision context: 'Use to judge whether an image is the canonical one and still maintained.' That tells the agent when this tool earns its call. It stops short of exclusions (e.g., 'do not use to verify a specific tag' or 'use check_image_tag for tag existence'), so it is clear context rather than full when/when-not guidance.

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.

Resources