Skip to main content
Glama

local_gpu_generate_image

Generate images locally on GPU using WebUI or Diffusers, with support for text-to-image, image-to-image, and inpainting.

Instructions

Compatibility tool for WebUI or Diffusers image generation; not for ComfyUI routes and never a bypass for the confirmed high-level run workflow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loraNo
modeNo
seedNo
modelNo
stepsNo
widthNo
heightNo
promptYes
backendNo
filenameNo
strengthNo
allow_cpuNo
schedulerNo
webui_urlNo
lora_scaleNo
mask_imageNo
output_dirNo
vae_tilingNo
cpu_offloadNo
input_imageNo
sampler_nameNo
allow_downloadNo
guidance_scaleNo
negative_promptNo
disable_safety_checkerNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
modeYes
pathYes
backendYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. It only describes the tool as a compatibility layer, offering no information about how invocation behaves, side effects, blocking semantics, resource usage, or error handling. This is a significant gap for a tool with 25 parameters.

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 two concise sentences, front-loaded with the core purpose and immediately followed by exclusionary boundaries. Every word earns its place with no redundancy or fluff.

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

Completeness1/5

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

For a tool with 25 parameters, multiple enums, an output schema, and no annotations, this description is severely incomplete. It does not cover parameter selection, backend behavior, prerequisites, or relationship to sibling tools beyond the bare exclusions. The output schema exists but the description fails to provide the contextual glue needed for correct tool invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description provides zero information about any of the 25 parameters. It does not explain which parameters are relevant for WebUI vs. Diffusers backends, how modes like txt2img/img2img/inpaint interplay, or what required versus optional parameters mean. The description adds no semantic value beyond the schema.

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 clearly states the tool is a compatibility layer for WebUI or Diffusers image generation, which aligns with its name. It explicitly distinguishes itself from ComfyUI routes and the high-level run workflow, making its purpose and scope unambiguous.

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 explicit when-not-to-use guidance: not for ComfyUI and never as a bypass for the confirmed high-level run workflow. However, it does not name specific alternative tools, such as local_gpu_generate_round, so the guidance is clear but not fully explicit about alternatives.

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/zc4578980-tech/local-gpu-imagegen'

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