Skip to main content
Glama

Upscale image

upscale_create
Idempotent

Submit upscale work for the authenticated account. Returns an asynchronous request ID. For a sequence of work, prefer batch_submit and hand off the dashboard URL without polling. Use library IDs from assets_list where supported. Rights/privacy acknowledgements must reflect the user’s authorization; never invent consent. Limits remain active through result email delivery.

Input Schema

NameRequiredDescriptionDefault
filesNoOptional upload parts (max 20 MiB total). Use audio for Voice, file for Edit/Upscale, image_upload/last_image_upload/voice_upload/music_upload for Video.
uploadsNoPrivate uploaded file references from asset_upload or the web file library. No local paths, URLs or base64 in plans. Set the corresponding source/image/voice/music mode to upload.
source_urlNoFor source_type=url only: a public HTTPS image URL, max 2048 characters; no credentials, IP literals, non-443 ports or private network destinations.
source_typeYesChoose an uploaded source or a previous generated image.
idempotency_keyYesUnique per intended operation. Reuse on network retries.
generated_serviceNoFor generated input: image or edit. Omission defaults to image.
generated_variantNoFor generated input: image uses base/nsfw; edit uses result.
acknowledge_rightsYesMust be true only when the user has authorized the stated rights, privacy or safety acknowledgement. Never invent consent.
acknowledge_privacyYesMust be true only when the user has authorized the stated rights, privacy or safety acknowledgement. Never invent consent.
generated_request_idNoOwned completed source request UUID; required with source_type=generated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the write/idempotent/non-destructive profile, but the description adds behavior they cannot express: the return is an asynchronous request ID, the caller should hand off a dashboard URL rather than poll, and account limits stay active until result email delivery. Only gap is it never says how to later fetch the finished result (request_get/result_read).

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?

Front-loaded with the core action and return shape, then routing, then safety constraints. Mostly earning its sentences, though the rights/privacy sentence partly restates the two const:true acknowledgement fields already described in the schema.

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 an async submit tool with a rich conditional schema and full annotations but no output schema, the description covers the submit outcome and the anti-polling rule. The one missing piece is what tool to call to retrieve the upscaled result once processing completes.

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 conditional source_type rules, idempotency_key reuse and acknowledgement semantics are already documented. The description's one addition — use library IDs from assets_list — overlaps with the schema's own note that uploads come from asset_upload or the web file library, so it adds little beyond the baseline.

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?

States a specific verb and resource ('Submit upscale work') for the authenticated account and immediately distinguishes the async single-request path from the batch path. An agent can tell this apart from batch_submit without reading either 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?

Explicitly names the alternative ('prefer batch_submit' for sequences) and the condition that selects it, plus a second routing hint to assets_list for library IDs. It also states a hard prohibition on fabricating rights/privacy consent, which is genuine when-to-do-what guidance.

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