Skip to main content
Glama
pvliesdonk

io.github.pvliesdonk/image-generation-mcp

by pvliesdonk

browse_gallery

Read-only

View generated images in a visual gallery. Filter by origin to see all, generated, or imported images, with thumbnails and status.

Instructions

Browse all generated images in an interactive visual gallery.

Opens a gallery view showing thumbnail previews of images in the scratch directory, filtered by origin (generated images by default).

For non-UI clients the response is a JSON object with total, page, page_size, origin, and items. Each completed item includes image_id, prompt, provider, dimensions, created_at, thumbnail_b64 (128 px WebP, base64-encoded), content_type, and origin. Pending/generating items include status, progress, and progress_message instead of a thumbnail.

Use browse_gallery to see all images; use show_image(uri="image://{image_id}/view") to view one image at full resolution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originNoWhich images to include. ``"generated"`` (default) shows images produced by ``generate_image``/``edit_image`` plus all pending generations (a pending generation always counts as generated). ``"imported"`` shows images brought in via upload/fetch/base64 ingestion. ``"all"`` shows both.generated
Behavior5/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false, and the description does not contradict them. The description adds valuable behavioral context: for non-UI clients, it returns a JSON object with pagination fields and item details (thumbnail, status for pending items). This goes beyond the annotations to fully inform the agent about what to expect.

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?

The description is well-structured: first sentence states the core purpose, then details about the gallery view, then the response format for non-UI clients, and finally usage guidance with an explicit alternative. Every sentence adds necessary information without redundancy. It is appropriately front-loaded.

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?

Given the tool has one optional parameter and no output schema, the description fully explains the response structure (pagination, item fields for completed and pending items). It covers all information needed for an agent to use the tool correctly, including how to interpret the output.

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?

Schema coverage is 100%, but the description still adds meaning by explaining the behavior of the `origin` parameter: it defines what 'generated', 'imported', and 'all' include, and clarifies that pending generations count as 'generated'. This provides context not evident from the schema alone.

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 clearly states the verb 'browse' and resource 'generated images in an interactive visual gallery'. It explains that it shows thumbnails filtered by origin. It distinguishes itself from sibling tool `show_image` by explicitly mentioning the alternative for viewing a single image at full resolution.

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?

The description provides explicit guidance: 'Use `browse_gallery` to see all images; use `show_image(uri="image://{image_id}/view")` to view one image at full resolution.' This clearly tells the agent when to use this tool versus the alternative. Additionally, it explains the default filter for generated images and the options for imported or all.

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/pvliesdonk/image-generation-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server