Skip to main content
Glama

ModelsLab v8

Image Generation (V8)

image-generation
Generate images using the ModelsLab V8 API.
Supports any image endpoint (text-to-image, image-to-image, inpaint, outpaint, fashion, virtual-try-on, etc.).
Pass the `endpoint` slug (e.g. "text-to-image") and all required parameters for that endpoint.
Returns a request ID that can be used with the fetch-generation tool to retrieve results.
Use the list-models tool to find available model IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNoAdditional parameters for the endpoint (e.g. prompt, negative_prompt, width, height, init_image, mask_image, webhook, track_id).
endpointYesThe image operation slug.
model_idYesThe model ID to use for image generation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The only annotation is openWorldHint=true, so the description carries most of the load and does disclose an important behavioral trait: the call is asynchronous and returns a request ID rather than the image itself, with fetch-generation as the follow-up. It omits auth requirements, rate limits, and whether generations are free/charged.

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?

Front-loaded with the core action in the first sentence, then supporting details on endpoints, return value, and model lookup. Sizable but every sentence carries routing or behavioral information; minor redundancy around 'all required parameters for that endpoint'.

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 3-param tool with a nested params object, no output schema, and minimal annotations, the description covers the async return contract and the companion tools needed to complete the workflow. Missing only error/permission behavior, and the endpoint enum mismatch leaves some ambiguity about valid values.

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 coverage is 100% (baseline 3), and the description does add meaning by citing example param names (prompt, negative_prompt, width, height, init_image, mask_image, webhook, track_id). However, it claims the tool 'supports any image endpoint (text-to-image, image-to-image, inpaint...)' while the schema enum restricts endpoint to only 'flux-headshot', a mismatch that could mislead an agent.

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?

States a specific verb (Generate) plus resource (images) via a named API (ModelsLab V8), and enumerates the operation families it covers. It is clearly distinguishable from siblings like video-generation and 3d-generation.

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?

Gives concrete routing guidance: pass the endpoint slug plus that endpoint's required params, use list-models to find model IDs, and use fetch-generation to retrieve results. No explicit when-not-to-use or exclusions are stated, so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources