Skip to main content
Glama
ClipCloud MCP server
by alexmrgit

Get image

get_image
Idempotent

Fetches images from a ClipCloud generation, waits if they are still processing, and optionally saves them to a folder or returns links.

Instructions

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 in this session (use that if generate_image timed out or failed after starting). Can save the images to save_dir.

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
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.
creation_idNoThe creation_id returned by generate_image, exactly as returned. Leave empty for the latest generation of this session.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=true, but the description supplies the context that explains the non-read-only flag: the call can write image files to save_dir, and it may wait/poll up to wait_seconds, returning a status string plus a creation_id when not ready. The only gap is that it doesn't restate the collisions-on-existing-files policy, though that lives in the schema.

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?

Three short sentences, front-loaded with the purpose, then the polling contract, then the fallback case, then the save option. No sentence restates the title or wastes tokens.

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?

With no output schema, the description carries the burden of explaining returns, and it does: links always returned, images optionally shown, and a 'Still generating' status with a creation_id when the wait expires. Error handling for an invalid or stale creation_id is the main unaddressed case.

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 framing beyond the schema: wait_seconds is a time budget rather than a fixed delay, and empty creation_id means 'latest generation in this session' as a timeout-recovery path. save_dir's side effect is also stated at a high level.

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 opens with a specific verb+resource ('Get the images of a generation') and immediately binds it to the sibling tool that produced the input ('started by generate_image'). An agent can tell this apart from generate_image 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 gives explicit operational guidance: poll again while the answer says 'Still generating', pass creation_id obtained from generate_image, or omit it to fetch the latest session generation specifically when generate_image timed out or failed. That covers when-to-use and the recovery alternative for the main sibling.

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