Skip to main content
Glama

upscale_video

Upscale an existing generated video (from a prior generate_video call) to a higher resolution -- the same "270p/720p/1080p/4K" choice Flow offers when downloading.

Counts against the weekly free video limit (3 a week without a subscription), like
any other video operation, and spends the account's own Flow credits.

account: the Google account whose project owns media_id. Do not guess it and do not
ask the user: the generate_video result you already have carries it in the
`account_used` field -- pass that value verbatim. A media_id only exists inside the
project of the account that produced it, so any other account returns a clean error.

target_resolution: "1080p" or "4K". 4K may be locked behind a paid plan tier on some
accounts -- comes back as a clean error rather than a crash, just report it.

Slower than generation: it is kicked off and then polled like a normal video
generation -- returns a job_id to poll with check_job if it is not done within ~40s.

Returns {"media_id": <new upscaled mediaId>, "download_path": "/v1/media/....mp4",
"resolution": ...} when done.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYes
media_idYes
target_resolutionNo1080p

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only indicate non-readonly, non-destructive, non-idempotent behavior; the description adds essential details: it consumes the weekly free video limit, spends account credits, may be slower than generation, returns a job_id for polling, and reports 4K plan locks as clean errors. This fully compensates for the sparse annotations.

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

Conciseness5/5

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

Longer than average, but every block earns its place: purpose, usage constraints, per-parameter guidance, async behavior, and return shape are all addressed. The opening sentence says exactly what the tool does, and the parameter paragraphs are logically organized.

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 mutation tool with no output schema and zero schema coverage, this description is fully sufficient: required inputs, parameter semantics, error behavior, polling path, quota impact, and expected response structure are all covered. Nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description compensates exceptionally well. It explains account must come verbatim from account_used, why using another account errors, gives the exact allowed resolutions for target_resolution, notes the default and paid-tier caveat, and makes media_id's origin clear via the 'from a prior generate_video call' context.

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: 'Upscale an existing generated video' from a prior generate_video call to a higher resolution. It clearly distinguishes this from sibling operations like edit_video and extend_video by anchoring it to the output of generate_video and the download resolution options.

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?

Provides clear context: this is for a video produced by generate_video, uses the account from the prior result, and should be polled via check_job if it takes longer than ~40s. It does not explicitly name alternatives like upscale_image, but the lineage requirement makes the intended usage unambiguous.

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.