Skip to main content
Glama
ClipCloud MCP server
by alexmrgit

Generate image

generate_image

Creates images from text prompts in ClipCloud styles, returns links, and saves finished images to a chosen folder.

Instructions

Make images from a text prompt in a ClipCloud style. Waits up to wait_seconds; if the images are not ready by then, returns a creation_id: then call get_image with it. Never call generate_image again for the same request because it is slow or returned an error after starting: that starts and charges a new generation. Returns temporary links, shows the images and can save them to save_dir. Costs credits from the API key balance (see estimate_cost); up to 25 images a day are free when the paid balance is empty.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "generate_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many images, 1 to 10. Make 1 unless the user asks for more.
styleNoStyle name, exactly as list_styles shows it. Examples: HD-HQ (default, 1024x1024), FullHD-HQ-h (1536x1024), FullHD-HQ-v (1024x1536), photorealistic-1, anime, aquarelle, pixel-art, lowquality (fast draft).HD-HQ
promptYesWhat to draw, up to 2000 characters. English works best: describe the subject, setting, light and composition.
save_dirNoFolder to save the finished images to: an absolute path, or a path relative to the open project. Created if missing. Leave empty to only get links.
file_nameNoFile name for saved images, without extension, for example "hero". With several images, -1, -2 and so on are added. Existing files are never replaced: a number is added instead.
wait_secondsNoHow long this call may take, in seconds (default 45). Many apps cancel a tool call after about 60 seconds, so keep the default unless you know your app allows longer calls. If the images are not ready in time, the answer says so and gives the creation_id.
return_imagesNoWhether to show the finished images in the answer (up to 2 small ones) so you can see them. Links are always returned. Set false to save context.
negative_promptNoWhat to avoid in the image, for example "text, watermark, blurry".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only flag openWorldHint and non-idempotency; the description supplies the real behavioral stakes: credit charges against the API key balance, a 25-image/day free tier, temporary links, and a clear explanation of why re-calling is costly and wrong. This adds substantial context beyond the structured hints rather than repeating them.

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-loads the core action, then the timeout/handoff rule, then the cost warning — a sensible priority order. It is dense and slightly run-on (the double-colon sentence about creation_id), but no sentence is filler.

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

Completeness5/5

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

With no output schema, the description still tells the agent what comes back (temporary links, up to two inline images, or a creation_id on timeout) and what side effects occur (credit spend, files written to save_dir). That is complete for a costly async generation tool with eight parameters.

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 the baseline is 3, but the description adds meaning the schema alone does not: wait_seconds determines whether a creation_id is returned instead of images, and save_dir/return_images are framed as save-and-context tradeoffs. It stops short of explaining count or style tradeoffs beyond what the schema already says.

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 and resource ('Make images from a text prompt') plus the style-system scope ('in a ClipCloud style'), and names the sibling it hands off to (get_image) as well as estimate_cost. An agent can distinguish it from retrieval siblings without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use routing: if images aren't ready, call get_image with the creation_id; never re-invoke generate_image for the same request. It also bounds wait_seconds usage ('keep the default unless you know your app allows longer calls') and points to estimate_cost before spending credits.

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