Skip to main content
Glama

Upscale Video

media_upscale
DestructiveIdempotent

Queue a ByteDance upscale of one stored video asset to 1080p or 4k. Call media_upscale_estimate first. Spends AI credits and returns a new pending media asset to poll with media_assets_get.

Input Schema

NameRequiredDescriptionDefault
assetIdYesSource video asset UUID. UUID string.
projectIdNoOptional project UUID to attach the credit spend. UUID string.
workspaceIdNoOptional workspace ID. Defaults to the user's default workspace. UUID string.
idempotencyKeyNoRetry key. Reuse only with identical inputs.
targetResolutionYesOutput long-edge target.

Output Schema

NameRequiredDescriptionDefault
runIdYes
statusYes
assetIdYes
sourceAssetIdYes
creditsRequiredYes
mutationReceiptYes
targetResolutionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true. The description adds meaningful context beyond them: it spends AI credits, queues asynchronously, and returns a new pending asset rather than mutating the source in place. Minor gap in not tying the credit cost to the consuming project/workspace parameters.

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?

Three tight sentences, front-loaded with what it does, followed by the prerequisite and the cost/return behavior. No filler.

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?

An output schema exists, yet the description still notes the return shape (a new pending asset) and the follow-up tool to poll it (media_assets_get), plus the credit-spend caveat and estimate prerequisite. 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.

Parameters3/5

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

Schema coverage is 100%, so all five parameters—including targetResolution's enum and idempotencyKey's retry semantics—are already documented. The description echoes the 1080p/4k values but adds no syntax or format detail beyond the schema. Baseline 3 applies.

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 (upscale) and resource (one stored video asset) with explicit scope (1080p or 4k) and vendor (ByteDance). An agent can distinguish this from unrelated siblings like media_assets_get or generation_video_create without opening any schema.

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?

Explicitly names the required prerequisite ('Call media_upscale_estimate first'), which routes the agent to the correct preceding step. It doesn't state when-not to use it or frame it against alternative upscaling paths, but the context is clear.

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