Skip to main content
Glama

gate_img2img

Generate a new image variation by transforming a reference image with a text prompt; supports local paths, URLs, ComfyUI inputs, adjustable denoising, seeds, and presets.

Instructions

Generate a new image variation from a reference image (local file path, HTTP/HTTPS URL, or uploaded ComfyUI input filename) and a text prompt.

Input Schema

NameRequiredDescriptionDefault
seedNoRandom seed for reproducible generation (optional).
imageYesReference image: local file path (e.g. '~/pic.png'), HTTP/HTTPS image URL, or filename already in ComfyUI input/.
presetNoSpeed/quality preset: 'Fast alt' (default, 10 steps), 'Fast', 'Balanced', 'Quality' (25 steps).
promptYesText description guiding the image-to-image transformation.
denoiseNoDenoising strength from 0.05 (subtle) to 1.0 (complete redraw). Default: 0.75.
negative_promptNoOptional negative prompt elements to avoid.
timeout_secondsNoMaximum seconds to wait for generation (default: 180).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about whether generation is synchronous or long-running, what happens on timeout, whether GPU resources are consumed, or where the resulting image ends up. For a potentially slow generation tool with a configurable timeout_seconds parameter, these omissions matter.

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?

A single well-formed sentence with the action front-loaded and no filler. The parenthetical enumerating image sources duplicates the schema and could be trimmed, but overall it is tight.

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

Completeness2/5

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

With no annotations, no output schema, and seven parameters, the description should explain execution behavior and the nature of the returned artifact. It covers only the input contract, leaving the agent without enough information to set expectations about latency, failure modes, or results.

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%, so parameters such as seed, preset, denoise, negative_prompt and timeout_seconds are already fully documented in the schema. The description's parenthetical listing image source types (local path, HTTP/HTTPS URL, uploaded ComfyUI filename) restates the schema's image description rather than adding new meaning.

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 description uses a specific verb ('Generate') and resource ('a new image variation') and states the two required inputs (reference image + text prompt). It implicitly distinguishes itself from gate_txt2img by requiring a reference image, but never names that sibling explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the right tool when it has an existing image to transform. There is no explicit when-to-use/when-not guidance and no mention of gate_txt2img or gate_generate as alternatives for prompt-only generation.

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