Skip to main content
Glama

view_image

Retrieve a ComfyUI output image by filename and show it in the conversation as a visible image block.

Instructions

Fetch a ComfyUI output image and return it as an image block visible in the conversation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesFilename in ComfyUI output dir
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the tool returns an image block visible in the conversation, adding context about output format. However, it does not mention error behavior (e.g., missing file) or explicitly state that the operation is read-only, though 'fetch' implies it. Some behavioral depth is missing.

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 a single, well-structured sentence that is front-loaded with the action and outcome. It contains no fluff or unnecessary information.

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?

Given the tool's simplicity (one parameter, no nested objects, no output schema), the description provides enough information: what it does and what it returns. It could include error handling details or a comparison with view_latest, but it is largely complete for a basic fetch/display tool.

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?

The schema provides 100% coverage for the single parameter 'filename' with the description 'Filename in ComfyUI output dir'. The tool description adds no additional semantics beyond the schema, so the baseline of 3 applies.

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 uses a specific verb ('Fetch') and resource ('ComfyUI output image') and clearly states the outcome ('return it as an image block visible in the conversation'). This distinguishes it from siblings like list_outputs or download_model, which operate on outputs differently.

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?

The description provides clear context for when to use the tool: when a ComfyUI output image needs to be displayed in the conversation. It does not explicitly mention alternatives or exclusions, but the purpose is clear enough for an agent to infer when this tool is appropriate.

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/bernardogv/comfyui-mcp'

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