Skip to main content
Glama
pvliesdonk

io.github.pvliesdonk/image-generation-mcp

by pvliesdonk

Browse Gallery

browse_gallery
Read-only

Browse generated and imported images in a visual gallery, with thumbnails and metadata. Filter by origin to view all, generated, or imported images.

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 declare readOnlyHint=true and destructiveHint=false, so the safety profile is clear. The description adds significant behavioral context: it reads from the 'scratch directory', returns thumbnail previews, and describes the response shape for non-UI clients including pending vs. completed items. This goes well beyond what annotations cover.

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 efficiently structured: an opening summary sentence, then response-format details for non-UI clients, then explicit usage guidance. Every sentence contributes either behavioral transparency or usage direction. No filler or repetition of schema fields.

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?

For a tool with one optional parameter, no output schema, but rich annotations, the description covers the response format, filtering behavior, and usage notes. It provides everything an agent needs to select and invoke the tool correctly, including how pending items behave. The context is complete for the tool's complexity.

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% and the schema already explains the 'origin' parameter with enum and default. The description adds a valuable nuance: 'a pending generation always counts as generated', which is not in the schema. This extra semantic detail justifies a score above the baseline of 3.

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 identifies the tool as browsing all generated images in an interactive gallery, with a specific verb ('browse') and resource ('generated images'). It distinguishes itself from show_image by explicitly stating 'Use browse_gallery to see all images; use show_image... to view one image at full resolution.' This provides clear differentiation from a key sibling.

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 explicitly states when to use this tool ('to see all images') and points to an alternative (show_image for a single full-resolution view). It also gives context about non-UI clients receiving a JSON response, which helps agents decide how to invoke and parse the result. This exceeds the high calibration example's 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/pvliesdonk/image-generation-mcp'

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