Skip to main content
Glama

Render the final video

render_episode
Destructive

Start rendering the final video from the current cuts. Works when the episode is "ready", or "complete" to render again after recut_episode.

The first render counts the episode's finished-video minutes, so confirm with the user first. Rendering again (it replaces the previous video) counts only what the edit adds beyond the longest version counted so far, so the same length or shorter is free. On the Free plan, once 3 hours are used in a calendar month, a render that would count minutes refuses with FREE_HOURS_USED and the episode stays as it was. It takes about as long as processing did.

Leave loudness out unless the user asks for a level: the episode keeps the level it was recorded at, or the level they chose last time. "podcast" brings it to -16 LUFS (Apple Podcasts, Spotify), "youtube" to -14 LUFS, "original" back to as recorded.

Leave resolution out unless the user asks for a size: the episode keeps full resolution, or the size they chose last time. "1080p" brings 4K footage down to 1080p (the short side at 1080 pixels; it never scales up), which renders sooner and makes a smaller file; "original" goes back to full resolution. Only offer it when get_episode_status says canChoose1080p: footage that is 1080p or smaller has nothing to choose. On the Free plan every render is 1080p anyway.

It refuses (SYNC_RECHECK_RUNNING) while WizCut is still lining up some files: wait a few minutes and try again. It also refuses (FILES_NOT_SYNCED) when files couldn't be lined up, since they'd be out of lip sync: tell the user, and pass allowUnsyncedFiles only if they decide to render anyway. At most 3 episodes can render at the same time per account (TOO_MANY_RENDERS): wait for one to finish, or let the user know they can reach out (send_feedback or support@wizcut.com) if they need more or think it's a bug.

Next: check get_episode_status after a few minutes; once it's complete, get_download_link gives the video. In chat apps that show WizCut's progress view under this result, it shows the render's progress and then the video itself.

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": {
      "jobId": "<jobId>"
    },
    "name": "render_episode"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe episode's id (jobId), as returned by create_episode or list_episodes.
captionsNoBurned-in captions for this render: "off", or {} (or a style, position, size) for captions on. Omit to keep the episode's captions as they are (get_captions). They can't be taken out of the video afterwards, so only when the user asks.
loudnessNoEpisode level: as recorded, -16 LUFS for podcast apps, or -14 LUFS for YouTube. Omit to keep the last choice.
resolutionNoVideo size: full resolution, or 1080p (4K comes down to 1080p, never scaled up). Omit to keep the last choice.
allowUnsyncedFilesNoRender although some files aren't lined up (they'd be out of lip sync in the video). Only when the user said so after hearing that; leave it out otherwise.

Output Schema

NameRequiredDescriptionDefault
jobIdYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Goes far beyond the annotations: it discloses billing semantics (first render counts full finished minutes, re-renders only count added length, re-render replaces the previous video), the Free-plan 3-hour cap, and four distinct refusal conditions (FREE_HOURS_USED, SYNC_RECHECK_RUNNING, FILES_NOT_SYNCED, TOO_MANY_RENDERS) with what to do for each. The irreversibility of burned-in captions and the rough render duration are also stated.

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 action, then organized into distinct paragraphs for billing, error states, loudness, resolution, and next steps, so it reads as a checklist rather than a wall. It is long and partly duplicates the schema's loudness/resolution descriptions, which costs a point.

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 destructive, billable, asynchronous operation this covers preconditions, cost, failure modes, concurrency limits, and the follow-up calls needed to retrieve the result. With an output schema present, the description is not obligated to explain return values, and it still points at get_download_link for the artifact.

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 the baseline is 3, but the description adds genuinely new semantics: the canChoose1080p gating condition for offering resolution, the note that Free-plan renders are always 1080p, and the default-inheritance behavior when parameters are omitted. Some content (LUFS targets, 4K-to-1080p downscale) restates the schema's own enum descriptions, which keeps it from a 5.

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?

"Start rendering the final video from the current cuts" names a specific verb (render) and resource (the episode's final video), and scopes it to the current edit state. It distinguishes itself from recut_episode by noting it is used to render again after a recut, and from render_clip by the word "final video."

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 preconditions (episode must be "ready" or "complete"), explicit parameter omission rules ("leave loudness out unless the user asks"), a gating condition for 1080p tied to get_episode_status's canChoose1080p, and a rule for allowUnsyncedFiles (only after the user decides). It also names the follow-up path via get_episode_status and get_download_link.

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