Skip to main content
Glama

upscale_video

Increase a video's resolution to 1080P, 2K, or 4K by submitting a public video URL, then retrieve the task status and output URLs.

Instructions

Create a KIE task on RunAPI (upscale video). Returns a task id, status, and output URLs.

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

Input Schema

NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
modelNoRunAPI model slug for this model line.
resolutionNoTarget output box, preserving aspect ratio, frame rate, frame count, and any source audio. Declared type: string. Known values: "1080P", "2K", "4K".
timeout_msNo
callback_urlNoWebhook URL for terminal Task delivery. Declared type: string.
poll_interval_msNo
source_video_urlYesPublic HTTP(S) MP4, MOV, or MKV video URL, up to 50 MB and 60 seconds; over-limit videos fail the task after download. Declared type: string.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses that the call returns a task id, status, and output URLs, which hints at asynchronous task semantics, but it never states that the operation is billable, that results may need polling via get_task, or what happens to failures beyond the schema's note on over-limit videos.

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?

Two short sentences, purpose front-loaded, followed by return values; nothing is wasted. It is arguably too terse rather than verbose, but structurally sound.

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

Completeness3/5

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

For a 7-parameter task-creation tool with no annotations and no output schema, the description at least sketches the return payload. However, it omits cost implications, the asynchronous lifecycle and polling path, and how callback_url interacts with wait, leaving meaningful gaps for an agent invoking it correctly.

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 71%, so most parameters (source_video_url, resolution, callback_url) are already documented in the schema, and the description adds no parameter-level detail. This sits above the low-coverage threshold but below the high-coverage baseline, making 3 appropriate.

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?

The description names a specific verb and resource: creating a KIE task on RunAPI for video upscaling. The '(upscale video)' qualifier implicitly separates it from the sibling upscale_image, but no sibling is named or contrasted explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus upscale_image, get_task, or check_pricing, and no guidance on prerequisites such as auth or credit balance. Usage is only inferable from the tool name and the 'upscale video' parenthetical.

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