Skip to main content
Glama

render_movie

Start the final-movie render pipeline. Stitches every scene video together (or, when scene videos are missing, falls back to per-shot clips) on the Railway render service and writes the resulting MP4 to movies.metadata.renderedVideo. Use this ONLY when the user has EXPLICITLY asked to render / export / finalise / "build the final movie". Refuses if a render is already in progress for this movie. The render runs on Railway, so progress polling happens via render_jobs (separate from agent_jobs / list_running_jobs). Omit watermarkEnabled unless the user explicitly asks for or against the watermark: on the Director's Choice plan an export has no watermark unless the user turned it on in Profile; without the plan every export has it, whatever is asked. The result says what this export really carries (watermarkNote).

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": {
      "movieId": "<movieId>"
    },
    "name": "render_movie"
  }
}

Input Schema

NameRequiredDescriptionDefault
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
confirmIdNoOver the agent API only: the confirmId of the needsConfirmation answer the user agreed to, sent with confirmStaleExport.
watermarkEnabledNoOnly when the user asked: true to add the Promvie watermark to this export, false to export without it (Director's Choice only). Omit to use the user's plan and Profile setting.
confirmStaleExportNoOver the agent API only: leave unset on the first call. When this tool answered needsConfirmation (some scene videos were made before their current script or shots) and the user agreed in a later message to export them anyway, call again with confirmStaleExport: true and that answer's confirmId. In the studio chat it does nothing: the server asks the user and answers their yes itself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does: async execution on the Railway service, refusal when a render is in flight, plan-dependent watermark semantics (Director's Choice vs. every other plan overriding the user's request), the needsConfirmation/stale-export flow, and the watermarkNote field that reports what the export actually contains. These are non-obvious behaviors an agent could not infer from the schema.

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, and every sentence carries actionable content — no filler. It is dense to the point of being parenthetical-heavy (three nested asides in the first paragraph), which slightly slows scanning but does not waste words.

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

Completeness4/5

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

For a long-running mutation tool with no annotations and no output schema, the definition covers preconditions, data sources, execution environment, polling path, and the confirmation protocol. It stops short of stating credit/cost implications or how to cancel an in-flight render (only that cancel_render exists as a sibling), which an agent may need before invoking.

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; the description earns above baseline by adding the decision rule for watermarkEnabled ('Omit unless the user explicitly asks for or against') and the plan-driven override, plus the two-call pattern for confirmStaleExport with confirmId. It does not add format or constraint detail for movieId, but that is already fully documented in the schema.

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?

The first two sentences give a specific verb and resource (start the final-movie render pipeline; stitch scene videos into an MP4 written to movies.metadata.renderedVideo) and name the fallback source (per-shot clips). An agent can tell this apart from enqueue_generate_scene_video or cancel_render 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 Guidelines5/5

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

Explicit gating: 'Use this ONLY when the user has EXPLICITLY asked to render / export / finalise / "build the final movie"', plus a stated refusal condition (a render already in progress). It also routes progress polling away from this tool to render_jobs and explicitly disclaims agent_jobs / list_running_jobs as alternatives.

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