Skip to main content
Glama

get_paint_lab_generation

Read-only

Fetch one Paint Lab AI result by id and refresh it from the provider. Completed results include a public PNG outputUrl per variation. Does not charge again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
generationIdYesPaint Lab generation id from generate_paint_lab or list_paint_lab_generations.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoSame as generationId.
opNoAI action: finish, edit, fill, colorize, upscale, or remove_background.
errorNoUser-safe failure message when status is failed.
factsNoJob facts line, for example "Finish sketch · Best · 1024 × 1024 · ×2".
styleNoFinish style id, when set.
widthNoSource width in px.
clipIdNoLibrary clip id when the result is saved to the library (upscale).
factorNoUpscale factor, when the action is upscale.
heightNoSource height in px.
promptNoYour own prompt for this job, when one was sent.
statusYessubmitting, queued, running, completed, or failed.
outputsNoOne entry per finished variation: index, public PNG outputUrl, width, and height.
qualityNofast or best, when the action has quality tiers.
refundedNoTrue when a failed job returned its allowance.
createdAtNoISO timestamp when this job was created.
errorCodeNoStable failure code when status is failed.
outputUrlNoPublic PNG URL of the first finished variation.
variationsNoNumber of variations requested.
completedAtNoISO timestamp when this job finished.
outputWidthNoResult width in px.
generationIdYesPaint Lab generation id. Poll get_paint_lab_generation until status is completed or failed.
outputHeightNoResult height in px.
trainedStyleIdNoYour trained style used for this result, when one was applied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, non-destructive, closed-world), and the description adds meaningful extra context: it refreshes from the provider, completed results expose a public PNG outputUrl per variation, and it does not incur a new charge. This is useful behavioral detail beyond the annotation set, though it doesn't cover failure/pending states.

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, front-loaded with the core action and followed by output and billing notes. No filler; every sentence carries information.

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 a full output schema present, the description need not explain return values, yet it still hints at outputUrl. Combined with annotation coverage and complete parameter docs, an agent has enough to call it correctly; only provider-refresh timing/error behavior is unaddressed.

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% and the single generationId is fully documented in the schema, including its origin tools. The description adds no further syntax or format meaning, so baseline 3 applies.

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 and resource ('Fetch one Paint Lab AI result by id') and distinguishes itself from list_paint_lab_generations by making the singular/by-id nature explicit. It does not name a sibling directly, so it stops short of the top of the scale.

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?

The description implies the use case (retrieve and refresh a single result), but gives no explicit when-to-use vs. when-not, nor does it point to list_paint_lab_generations or generate_paint_lab as prerequisites/alternatives.

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