Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Generate one or more images locally using ComfyUI and Qwen Image 2.1. Queues the job(s) and returns immediately with prompt_ids and seeds; then call get_result with the prompt_ids to wait for and receive the image paths. The seed is a decimal string; pass that exact string back to reproduce the same generation. A seed does not edit an existing picture; use edit_image for that. Prefer width+height for exact sizes (icons ~256-512, UI ~1024, cinematic up to 2048). Values are rounded to multiples of 8. If width/height are omitted, aspect_ratio + megapixels are used instead.

edit_imageA

Edit an existing local image with Qwen Image 2.1. Pass the file path and an instruction such as 'remove the Chinese text and keep the rest unchanged'. The source image is used as a reference, so the result stays close to the original. Reusing a generation seed does not edit a picture; use this tool instead. Queues the job(s) and returns immediately with prompt_ids and seeds; then call get_result with the prompt_ids to wait for and receive the image paths. The returned seed is a decimal string; pass it back exactly to reproduce the same edit.

get_resultA

Wait for images queued by generate_image or edit_image and return their file paths. Waits up to wait_seconds (max 50). Each result has a status: completed (images ready), running, queued, error, or not_found. If done is false, some jobs are still generating: call get_result again with the same prompt_ids and keep calling until done is true. Slow machines can need several calls.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation5/5

The three tools map to three clearly distinct steps: queue a generation, queue an edit, and poll for results. Descriptions explicitly disambiguate the trickiest boundary (seed reuse does not edit; use edit_image instead).

Naming Consistency5/5

All tools follow a clean verb_noun snake_case pattern (get_result, generate_image, edit_image). No stylistic drift or vague single-word verbs.

Tool Count4/5

Three tools is lean but justified for a local ComfyUI image workflow, since the async queue/poll design is folded into one retrieval tool rather than splitting per-operation polling. Slightly thin, but nothing feels redundant.

Completeness4/5

Core lifecycle is covered: generate, edit, and retrieve results with status states including error and not_found. Gaps are minor conveniences such as cancelling or listing pending jobs, checking available models/checkpoints, or upscaling.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues