Skip to main content
Glama

List Image Sources and Images

list_image_sources
Read-only

List the hub's image sources — where container images are pulled or built from (Docker Hub target, private registry, Dockerfile repo) — with per-state image counts and their newest images. Pass 'source' to inspect one source with its full image history. Read-only.

Stacks do NOT use image sources: a stack build produces its own images (source type 'stack-build'), which are owned by the stack and vanish with it. Image sources come from deploy_application with stack:false (one per Docker Hub target, reusing an existing match) or from the dashboard, so a source with no live image is usually left over from a deleted one-off container.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imagesNoInclude each source's newest images (default true). false returns sources and counts only.
searchNoFilter the listing by name or identifier substring. Ignored with 'source'.
sourceNoOne image source to inspect: name, identifier, resource path ('image-source:...'), or 24-char hex ID. Omit to list all.
contextNoWhy are you calling this tool? Briefly describe the user's goal.
conversation_idNoConversation tracking id. Omit on your first tool call; every result then includes a conversation_id line — pass that exact value on all later calls in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered and the description's 'Read-only' is largely redundant. It still adds genuine behavioral context the annotations lack: sources originate from deploy_application with stack:false or the dashboard, and an orphaned source is usually a leftover from a deleted one-off container, which helps the agent interpret results.

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?

Content is front-loaded with the core purpose and the 'source' switch, and the stack/origin caveat earns its place by preventing misinterpretation of empty sources. The final sentence is dense and multi-clause, but every clause carries disambiguating information rather than filler.

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 no output schema, the description carries the burden of describing returns and does so: per-state image counts, newest images, and full image history when 'source' is set. Combined with the origin/lifecycle explanation, an agent has enough to call and interpret this correctly, though pagination or result-size behavior is unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter semantics the schema does not spell out: 'source' switches the tool into full-image-history mode, and the images/search interplay is framed as mode selection rather than independent filters. This goes modestly beyond the per-parameter schema text.

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?

The description names a specific verb and resource ('List the hub's image sources') and immediately defines what an image source is, including the three concrete origins (Docker Hub target, private registry, Dockerfile repo). It explicitly carves out what this tool is NOT about ('Stacks do NOT use image sources'), which disambiguates it from the stack-related siblings.

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 clear conditional usage: pass 'source' to inspect a single source with full image history, omit to list all. It also tells the agent when results are not stack-related and why a source might be stale. It stops short of naming a sibling alternative (e.g. manage_image_source) for acting on a source, so it is strong but not fully prescriptive.

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