Skip to main content
Glama

Generate Image

generate_image

Create images with HalalGen (no human faces: people appear only as silhouettes, from behind, or not at all). 'Auto' uses GPTImage25Flare on paid plans and CF_Flux2Klein on the free plan. Free plan: CF_Flux2Klein and CF_Flux2Dev only. Returns the image URL; share it with the user. To change one of the user's own pictures, use edit_image instead.

Input Schema

NameRequiredDescriptionDefault
modelNoImage model. Call list_models for costs.Auto
promptYesWhat to create. Describe the scene, lighting, materials and mood. Avoid faces. Looks from HalalGen's templates can be asked for here too, for example one object seen from several camera angles, a faceless cartoon-style character, or exercise steps shown with silhouettes.
qualityNoUsed by GPT Image 2.5 only: hd costs ×1.2, ultra ×1.8. Flux Ultra and Flux 2.0 Pro are always ultra; other models are standard.standard
is_privateNoKeep the image private in the user's Vault.
num_imagesNoHow many images (paid plans: up to 4).
aspect_ratioNoImage shape.16:9
relaxed_modeNoQueue without spending credits. Iltizam and Ihsan plans only.
movement_typeNoOptional camera framing hint added to the prompt.
cinematic_styleNoOptional style preset added to the prompt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false), so the bar is lower. The description still adds real value the annotations cannot convey: a hard content restriction on faces, plan-dependent model routing, and the fact that it returns an image URL to share with the user. It does not say whether generation is synchronous or credit-costly beyond what the schema hints.

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?

Five short sentences, front-loaded with purpose and the non-negotiable content rule, then plan routing, then the return value, then the sibling redirect. Dense but every sentence carries distinct information; only the plan/free-tier detail is slightly repetitive in framing.

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 9-parameter generation tool with no output schema, the description covers the essentials: content policy, model/plan gating, and the returned image URL. Gaps remain around sync vs. async behavior, credit consumption, and where generated images land by default (the is_private/Vault interaction is only implied).

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description nonetheless adds meaning the schema lacks: what 'Auto' actually resolves to per plan, and which models are reachable on the free tier. The remaining parameters (quality, aspect_ratio, num_images, relaxed_mode) are left to their schema descriptions.

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?

Opens with a specific verb+resource ('Create images with HalalGen') and immediately scopes it with a content policy (no human faces). It also names the sibling it is not ('use edit_image instead' for the user's own pictures), so an agent can distinguish it from edit_image, generate_logo, and generate_video without opening a schema.

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 an explicit routing rule to edit_image for modifying the user's own pictures, plus plan-based constraints ('Auto' behavior, free plan limited to CF_Flux2Klein/CF_Flux2Dev). It stops short of stating when to prefer generate_logo or generate_video over this tool, so sibling coverage is partial rather than complete.

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