Skip to main content
Glama

Upscale video

upscale_video

Upscale a video to 2x resolution for final delivery using precision, FLUX 3, or fine-detail engines. Choose a detail-enhancing engine when added sharpness matters more than a faithful enlargement.

Instructions

Upscale a video to higher resolution (2x) for final delivery. Paid render; returns the served URL. A 480p Seedance 2.5 draft: finish_draft (same take, native 1080p). Three engines: the default ('standard') is the safe precision upscaler; engine:'flux' is the FLUX 3 video upscaler (1080p/2K/4K) with an optional mode:'creative' detail-enhancement pass; engine:'detail' rebuilds fine detail such as hair, skin and fabric, the sharpest result for a hero shot and the most expensive. Pick 'flux' or 'detail' when the user asks for added detail rather than a faithful enlargement.

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": {
      "video": "<video>"
    },
    "name": "upscale_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoFLUX only — 'creative' turns on its detail-enhancement pass; default precise
videoYesthe source video URL; a URL, not a local file path; use upload_file for local files
engineNodefault 'standard', the precision upscaler. 'flux' = the FLUX 3 video upscaler. 'detail' = rebuilds fine detail, costs the most
get_costNotrue: return the price only; nothing runs or bills
idempotency_keyNochosen once, resent unchanged on retries: the same key never buys twice
expected_creditsNothe get_cost price; refused unbilled if the live price differs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.532
    • addedInput schema / properties / expected_credits
      Added value: +{
      +  "description": "the get_cost price; refused unbilled if the live price differs",
      +  "type": "number"
      +}
    • addedInput schema / properties / get_cost
      Added value: +{
      +  "description": "true: return the price only; nothing runs or bills",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "chosen once, resent unchanged on retries: the same key never buys twice",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.1.525
    • changedInput schema / properties / video / description
      Previous value: -"the source video URL"New value: +"the source video URL; a URL, not a local file path; use upload_file for local files"
  3. Changed2 schema fields changedv0.1.484
    • changedInput schema / properties / engine / description
      Previous value: -"default 'standard', the precision upscaler. 'flux' = the FLUX 3 video upscaler"New value: +"default 'standard', the precision upscaler. 'flux' = the FLUX 3 video upscaler. 'detail' = rebuilds fine detail, costs the most"
    • changedInput schema / properties / engine / enum
      Previous value: -[
      -  "standard",
      -  "flux"
      -]New value: +[
      +  "standard",
      +  "flux",
      +  "detail"
      +]
  4. Changed2 schema fields changedv0.1.256
    • changedInput schema / properties / engine / description
      Previous value: -"default topaz. 'flux' = the FLUX 3 video upscaler"New value: +"default 'standard', the precision upscaler. 'flux' = the FLUX 3 video upscaler"
    • changedInput schema / properties / engine / enum
      Previous value: -[
      -  "topaz",
      -  "flux"
      -]New value: +[
      +  "standard",
      +  "flux"
      +]
  5. Changed2 schema fields changedv0.1.249
    • addedInput schema / properties / engine
      Added value: +{
      +  "description": "default topaz. 'flux' = the FLUX 3 video upscaler",
      +  "enum": [
      +    "topaz",
      +    "flux"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / mode
      Added value: +{
      +  "description": "FLUX only — 'creative' turns on its detail-enhancement pass; default precise",
      +  "enum": [
      +    "precise",
      +    "creative"
      +  ],
      +  "type": "string"
      +}
  6. Changed1 schema field changedv0.1.161
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "jobId": {
      -      "description": "the render job id — poll get_job with this id to resume or inspect",
      -      "type": "string"
      -    },
      -    "model": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "the product-facing label of the model that rendered it"
      -    },
      -    "raw": {
      -      "description": "the raw job result payload (e.g. images[] for carousel template ads)"
      -    },
      -    "stillRendering": {
      -      "description": "true when the render is still in progress — keep polling get_job with jobId",
      -      "type": "boolean"
      -    },
      -    "url": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "the served URL of the finished media (absent/null while still rendering)"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  7. Addedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare this is a mutating, billable, non-idempotent, open-world call, so the description is not carrying the safety burden. It still adds real context beyond them: 'Paid render; returns the served URL', and relative cost ('the most expensive') plus quality character per engine. It does not discuss failure modes or how long a render takes, which keeps it short of a 5.

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 purpose, then the sibling redirect, then engine selection, so the reader can stop early. The engine clause is dense and repeats the engine names in slightly different terms, which costs a little tightness but each sentence still carries decision-relevant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter, no-output-schema render tool, the description covers what is produced ('returns the served URL'), the cost model, the sibling alternative, and how to select among engines. Nothing an agent needs in order to pick and call it correctly is missing.

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 baseline is 3, but the description goes further by explaining *why* each engine value matters — 'standard' as safe precision, 'flux' as FLUX 3 with an optional creative pass, 'detail' as the sharpest and costliest — which meaningfully outpaces the terser schema strings. The mode/creative linkage is reinforced rather than merely repeated.

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 with scope ('Upscale a video to higher resolution (2x) for final delivery'), then distinguishes the operation from the sibling `finish_draft` and names the three engine variants. An agent can tell exactly what this does and how it differs from the draft-finishing path 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?

Explicit routing guidance: use `finish_draft` for a 480p Seedance 2.5 draft (same take, native 1080p), and pick 'flux' or 'detail' when the user asks for added detail rather than a faithful enlargement. It names the alternative, the condition that selects it, and the intent-based rule for choosing engines.

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

Deploy Server

Other Tools