Skip to main content
Glama

comfy_get_image_url

Read-onlyIdempotent

Retrieve a direct URL to view an image on a ComfyUI server by providing filename, subfolder, and image type.

Instructions

Get the URL to view an image on the ComfyUI server.

Args: filename: Image filename subfolder: Optional subfolder image_type: Image type (output, input, temp)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes
subfolderNo
image_typeNooutput

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The annotations already establish read-only, idempotent, and non-destructive behavior, so the description only needs to add extra context. It adds that the result is a URL for viewing an image, but says nothing about URL lifetime, accessibility, or behavior for missing files. That is enough for a basic safe getter.

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?

The description is compact and front-loaded, with a single purpose sentence and a short Args list. The list is slightly redundant with property titles but still earns its place by adding optionality and enum-like values. No filler or repetition beyond that minor overlap.

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 simple, annotated read-only getter with an output schema, the description covers the core purpose and parameter roles. It does not explain when URL retrieval is preferred over sibling comfy_get_output_image, but that gap is largely a usage-guidance issue. Overall, the tool is adequately specified for its complexity.

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?

Input schema descriptions are absent, so the Args section is the only semantic documentation. It names all three parameters, marks subfolder optional, and gives valid image_type values ('output, input, temp'), which adds real value beyond the schema; however, the filename and subfolder descriptions are mostly restatements of the parameter names.

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 opening sentence names a specific operation ('Get the URL') and the resource ('an image on the ComfyUI server'), which clearly conveys the tool's function. It does not explicitly contrast with sibling comfy_get_output_image, so it falls short of the highest score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to call this tool instead of alternatives such as comfy_get_output_image or comfy_list_output_images. There are no context cues, prerequisites, or exclusions, so an agent cannot confidently choose between URL retrieval and binary image retrieval.

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/dreamrec/ComfyPilot'

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