Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Create an image for a UI, site or design

generate_image

Generate design assets for your own app, such as a logo, icon, hero image, illustration, UI mockup, or diagram. With no application, your account keeps it 7 days. link opens it in a browser until expires_at, at most one hour. renew_image_link replaces the link. With application, it uses app storage with no deployed code needed. That app's stored-data limit can refuse it before saving or counting.

The first images of each UTC month are free. free_images gives how many. Later delivered images draw the balance by resolution. read_account shows use under your sign-in or an authorized computer's token.

A saved picture normally has two download commands. If link or grant creation fails, it stays saved and counted. detail gives the remedy.

MCP inline: true returns pictures up to 256 KiB as image content. Past 45 seconds, the call fails and gives the image back. A failed give-back stays counted, uncharged. A repeat that delivers uses another image.

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
inlineNoWhen true, a saved picture also appears as MCP image content if it is at most 256 KiB. A larger file, or a call over HTTP, includes no image content; the result explains why.
promptYesThe design asset to make, such as a hero image for your site or an app icon. It is sent to the model's provider. The platform keeps nothing about it.
resolutionNoThe image's size class; absent, `1K`.
applicationNoAn application id from `tzcloud_list_applications`, to keep the picture in its storage. Leave it out to keep the picture in your account for 7 days. An empty or non-text value is refused `invalid_request`.
environmentNoWith `application` only: the partition receiving the file, or the app's deploy target if omitted. Without `application`, refused `invalid_request`. An environment the app lacks refuses `environment_not_created`.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say it is non-readOnly, open-world and non-destructive; the description goes far beyond that with retention windows, link expiry capped at one hour, monthly free-image quota, resolution-based balance drawdown, app storage limits that can refuse before saving, and the two-download-command convention. It also discloses failure semantics — a failed link/grant leaves the image saved and counted, a 45-second timeout returns the image, and a repeat delivery consumes another image — which is exactly the behavioral context annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the body reads as notes-assembled sentences with dropped articles ('That app's stored-data limit can refuse it before saving or counting') and forward references to unexplained artifacts (`expires_at`, `detail`, `free_images`, 'two download commands'). Information-dense with little waste, but the ordering hops between retention, quota, failure, and transport concerns instead of grouping them.

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 5-parameter generation tool with no output schema, it covers cost, retention, storage choice, delivery format, and failure accounting — the things an agent most needs before invoking. It still never states the shape of a successful result (image identifier, link, granted commands), which is the one substantive gap left open by the absence of an output schema.

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; however the description adds meaning the schema lacks, notably that a failed `inline` give-back stays counted but uncharged, the 45-second ceiling, and the practical consequence of choosing `application` storage. The `environment` parameter's dependence on `application` is covered in the schema itself, so most remaining value is marginal.

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 and resource — 'Generate design assets' — and enumerates concrete asset types (logo, icon, hero image, illustration, UI mockup, diagram) plus the account-storage vs. `application`-storage split. An agent knows exactly what this produces and where it lands, and the `renew_image_link` cross-reference frames the related tool.

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?

It gives clear decision conditions: omit `application` for 7-day account storage, supply `application` to use app storage, and use `renew_image_link` to replace an existing link. Exclusions are implicit rather than stated (e.g., when to prefer `tzmesh_generate_profile_image` or a regenerate call), so it stops short of full alternative routing.

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