Skip to main content
Glama

gate_txt2img

Generate an image from a text prompt using the active ComfyUI pipeline and return full image URLs. Set seed, dimensions, preset, and negative prompt for controlled text-to-image output.

Instructions

Generate an image from a text prompt using the active profile's pipeline (MOSS-Image DeBand or SD 3.5 Large fp8). Returns full image URLs.

Input Schema

NameRequiredDescriptionDefault
seedNoRandom seed for reproducible generation (optional, default random integer).
widthNoImage width in pixels (default: 1024).
heightNoImage height in pixels (default: 1024).
presetNoSpeed/quality preset (for moss-image): 'Fast alt' (default, 10 steps, recommended), 'Fast' (10 steps), 'Balanced' (14 steps), 'Quality' (25 steps).
promptYesText description of the image to generate (positive prompt).
negative_promptNoOptional negative prompt elements to avoid (default: 'worst quality, bad anatomy, watermark, jpeg artifact').
timeout_secondsNoMaximum seconds to wait for generation (default: 180).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
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 does disclose the two possible backends (MOSS-Image DeBand or SD 3.5 Large fp8) and that output is returned as full image URLs. It omits important behavior such as whether generation is blocking or queued, whether images persist, and what happens if the wait exceeds timeout_seconds, so the safety/cost profile remains unclear.

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?

Two short sentences, front-loaded with purpose and ending with the return format. Nothing is wasted and no filler or restatement of the name appears.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter generation tool with no annotations and no output schema, the definition is thin: it never explains the response object beyond "full image URLs" and never situates the tool relative to gate_status or gate_img2img. The rich input schema compensates for the parameter side, but the operational context is incomplete.

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?

Schema description coverage is 100%, and every parameter (seed, width, height, preset, prompt, negative_prompt, timeout_seconds) is documented with defaults and semantics in the schema. The description adds no parameter-level meaning beyond that, which is the expected baseline when the schema does the work.

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?

States a specific verb and resource ("Generate an image from a text prompt") and identifies the underlying pipeline, so the agent knows exactly what the call produces. It does not explicitly distinguish itself from the close sibling gate_img2img, which is the only thing keeping this from a 5.

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?

There is no when/when-not guidance, no mention of prerequisites such as an active profile or server state (gate_status), and no pointer to gate_img2img for image-input work. Usage is only implied by the words "text prompt".

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.