Skip to main content
Glama

ClipCloud

Generate image

generate_image

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 and shows the images. 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.
wait_secondsNoHow long this call may take, in seconds (default 45, at most 120). 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".

Output Schema

NameRequiredDescriptionDefault
styleNo
imagesYesFinished images; empty while running.
promptNo
statusYes"done": the images are ready. "running": still generating; call get_image with creation_id.
blockedNoImages removed by the content filter.
cost_usdNo
warningsNo
next_stepYesWhat to do next.
creation_idYesID of the generation; pass it to get_image.
cost_creditsNoCharged from the paid balance, in credits (1 credit = $0.0025).
free_images_usedNoFree daily images used instead of the paid balance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare non-idempotent, non-read-only, open-world behavior, and the description reinforces this with the charge-on-retry warning, credit consumption, and daily free quota — genuinely useful cost/caution context. However, the timeout mechanics it describes (wait_seconds, creation_id fallback) are already spelled out verbatim in the wait_seconds schema field, so much of the added text duplicates structured data rather than revealing new behavior. A solid but partly redundant disclosure.

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, then failure handling, then cost. Nearly every sentence carries operational weight, though the anti-retry sentence is a dense run-on and the credit/session-quota clause is compressed to the point of being easy to skim past.

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?

An output schema exists, so return-value explanation is unnecessary, yet the description still flags that links are temporary and that images may be shown. Combined with the retry prohibition and credit warning, an agent has everything needed to invoke this correctly and avoid the expensive failure mode.

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 description coverage is 100% and each parameter is already richly documented, so the baseline is 3. The description adds a little framing — that wait_seconds governs how long the call may block and what the fallback looks like — but most parameter meaning (count, style, negative_prompt, return_images) is carried by the schema, not the prose.

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 it draws on, which cleanly separates it from get_image (retrieval), list_styles (enumeration) and estimate_cost (pricing). Nothing about the action is left ambiguous.

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?

Explicitly routes the agent: if a creation_id comes back, call get_image with it; never re-invoke generate_image for the same request, even on error or slowness; consult estimate_cost for pricing. It names both the alternative and the condition that selects it, and includes a hard prohibition.

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.