Skip to main content
Glama

ClipCloud

Get image

get_image
Idempotent

Get the images of a generation started by generate_image. Waits up to wait_seconds if they are not ready yet; call it again while it says "Still generating". Without creation_id it returns the latest generation started with this API key (use that if generate_image timed out or failed after starting).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
creation_idNoThe creation_id returned by generate_image, exactly as returned. Leave empty for the latest generation started with this API key.
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.

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.5/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true, idempotentHint=true, destructiveHint=false, and readOnlyHint=false; the description adds useful behavior around waiting, polling, and fallback to the latest generation. It does not explain why the operation is marked non-read-only or what side effects that implies, but it adds substantial operational context beyond the annotations.

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 three focused sentences that front-load the purpose before explaining polling and the no-creation_id fallback. Every sentence carries useful operational information with no 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 an output schema present, the description does not need to explain return values and instead covers the essential invocation loop: wait, retry while still generating, and fall back to the latest generation when no creation_id is supplied. That is complete enough for an agent to call this asynchronous retrieval tool correctly.

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 description coverage is 100%, so the schema already documents creation_id, wait_seconds, and return_images in detail. The description reinforces the latest-generation behavior for missing creation_id and the wait_seconds timing, but does not add new syntax or constraints beyond the schema, and it omits return_images entirely.

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 states a specific verb and resource: get the images of a generation started by generate_image. It clearly distinguishes retrieval of an existing generation from the sibling generation action, so an agent can tell what the tool does without opening the 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?

It explicitly explains when to call it after generate_image, when to call it again while the response says 'Still generating', and when to use it without creation_id if generation timed out or failed. The named relationship to generate_image provides clear routing between the two tools.

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.