Skip to main content
Glama

quote_image_lab

Read-only

Quote an Image Lab still. Does not generate or charge. Paid generate needs this quote.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNotext_to_image or image_to_image. image_to_image needs sourceAssetIds. Same as inputMode.
promptYesWhat to draw. Up to 8,192 UTF-8 bytes.
inputModeNoSame as mode: text_to_image or image_to_image.
modelSlugYesImage Lab model slug from list_image_lab_models (gpt-image-2-5, nano-banana, nano-banana-2, nano-banana-2-1, nano-banana-pro, flux-2-pro, mai-image-2-5, mai-image-2-5-pro, seedream-5-lite, muse-image, grok-imagine-image-2, qwen-image-3, kling-image-o3, flux-3-image, ideogram-v4-5, seedream-5-flash, recraft-v4-1-flash).
aspectRatioNoStill aspect from list_image_lab_models for that slug (for example 16:9 or 9:16). Not every model lists every ratio.
sourceAssetIdsNoSource still asset ids from complete_generation_asset for image_to_image.
sourceImageAssetIdNoSource still generation-asset id for image_to_image. Same as sourceAssetIds[0].

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
quoteIdYesQuote id. Pass this to the matching generate tool. Quotes expire.
expiresAtNoISO timestamp when this quote expires.
modelSlugNoCatalog model slug from the matching list_*_models tool.
normalizedInputNoNormalized Image Lab setup this quote locked in.
requiredCreditsNoUsage this quote would consume from this month’s generation allowance (internal units).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / modelSlug / description
      Previous value: -"Image Lab model slug from list_image_lab_models (gpt-image-2-5, nano-banana, nano-banana-2, nano-banana-pro, flux-2-pro, mai-image-2-5, mai-image-2-5-pro, seedream-5-lite, muse-image, grok-imagine-image-2, qwen-image-3, kling-image-o3, flux-3-image, ideogram-v4-5, seedream-5-flash, recraft-v4-1-flash)."New value: +"Image Lab model slug from list_image_lab_models (gpt-image-2-5, nano-banana, nano-banana-2, nano-banana-2-1, nano-banana-pro, flux-2-pro, mai-image-2-5, mai-image-2-5-pro, seedream-5-lite, muse-image, grok-imagine-image-2, qwen-image-3, kling-image-o3, flux-3-image, ideogram-v4-5, seedream-5-flash, recraft-v4-1-flash)."
  2. Changed1 schema field changed
    • changedInput schema / properties / modelSlug / description
      Previous value: -"Image Lab model slug from list_image_lab_models (gpt-image-2-5, nano-banana, nano-banana-2, nano-banana-pro, flux-2-pro, mai-image-2-5, mai-image-2-5-pro, seedream-5-lite, muse-image, grok-imagine-image-2, qwen-image-3, kling-image-o3)."New value: +"Image Lab model slug from list_image_lab_models (gpt-image-2-5, nano-banana, nano-banana-2, nano-banana-pro, flux-2-pro, mai-image-2-5, mai-image-2-5-pro, seedream-5-lite, muse-image, grok-imagine-image-2, qwen-image-3, kling-image-o3, flux-3-image, ideogram-v4-5, seedream-5-flash, recraft-v4-1-flash)."
  3. Changed5 schema fields changed
    • changedInput schema / properties / aspectRatio / description
      Previous value: -"Still aspect from the catalog: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, or 9:16."New value: +"Still aspect from list_image_lab_models for that slug (for example 16:9 or 9:16). Not every model lists every ratio."
    • addedInput schema / properties / inputMode
      Added value: +{
      +  "description": "Same as mode: text_to_image or image_to_image.",
      +  "type": "string"
      +}
    • changedInput schema / properties / mode / description
      Previous value: -"text_to_image or image_to_image. image_to_image needs sourceAssetIds."New value: +"text_to_image or image_to_image. image_to_image needs sourceAssetIds. Same as inputMode."
    • changedInput schema / properties / modelSlug / description
      Previous value: -"Image Lab model slug from list_image_lab_models (gpt-image-2-5, nano-banana, nano-banana-2, nano-banana-pro, flux-2-pro, mai-image-2-5, mai-image-2-5-pro, seedream-5-lite, muse-image, grok-imagine-image-2, qwen-image-3, kling-omni-3)."New value: +"Image Lab model slug from list_image_lab_models (gpt-image-2-5, nano-banana, nano-banana-2, nano-banana-pro, flux-2-pro, mai-image-2-5, mai-image-2-5-pro, seedream-5-lite, muse-image, grok-imagine-image-2, qwen-image-3, kling-image-o3)."
    • addedInput schema / properties / sourceImageAssetId
      Added value: +{
      +  "description": "Source still generation-asset id for image_to_image. Same as sourceAssetIds[0].",
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description's real value-add is the cost and pipeline semantics: 'Does not generate or charge' clarifies it is a non-billing prerequisite. It does not disclose quote validity/expiry or how the returned quote is redeemed by the generate call.

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?

Three short sentences with the verb and the no-charge constraint front-loaded; nothing is wasted. The clipped grammar ('Paid generate needs this quote') is efficient but slightly telegraphic, forcing the agent to infer the pipeline.

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 an output schema present and 100% schema coverage, return values and parameters are covered elsewhere, and annotations handle the safety profile. The remaining gap is downstream mechanics: nothing explains that the resulting quote must be supplied to generate_image_lab or how long it stays valid.

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 every parameter (mode, prompt, modelSlug, aspectRatio, sourceAssetIds) is already documented in the schema, including cross-references to list_image_lab_models and complete_generation_asset. The description adds no parameter meaning beyond that baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Quote an Image Lab still') and immediately scopes it against the obvious sibling by declaring it 'Does not generate or charge,' which separates it from generate_image_lab. Strong, but it names no sibling tool explicitly.

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

Usage Guidelines3/5

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

'Paid generate needs this quote' implies the precondition (obtain a quote before a paid image generation) but never states the alternative case, e.g. that free generations can skip it. Usage is inferable rather than stated.

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