Skip to main content
Glama

dub_video

Translates a video’s speech into another language, re-voices it with a synthetic voice, lowers the original audio, and can burn translated subtitles; runs as a background job with status polling.

Instructions

Translate a video's speech and re-voice it in another language: transcribe, translate sentence by sentence, speak with one synthetic voice, lower the original audio and write translated subtitles (no voice cloning, no lip-sync). It runs in the background: the call returns a job_id, so poll get_render_status until it is 'completed' or 'failed'. The text to speak is sent to the voice service (Edge or ElevenLabs) and the transcript to the AI text provider; nothing is posted. Use extract_clips instead to cut shorts without changing the language.

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": "<source_video>",
      "target_lang": "<target_lang>"
    },
    "name": "dub_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
dub_voiceNoThe voice for the target language.female
target_langYesThe language to dub into. Required.
dub_captionsNoBurn the translated subtitles into the dubbed video (re-encodes).
source_videoYesLocal video file path or a video URL to dub. Required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.3

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the background-job behavior, job_id return, polling requirement, data sent to external voice and AI text providers, and that nothing is posted. It omits permission, cost, rate-limit, and output-file details, but covers the core behavioral traits.

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?

The description is front-loaded with the core purpose and then layers operational details efficiently. Every sentence adds useful information without redundant wording.

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 complex asynchronous operation without an output schema, the description explains the job contract, polling behavior, external data flow, and alternative tool. It could be stronger with file-size limits, supported input constraints, or output location details, but it is largely complete.

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 100%, so the input schema already documents all four parameters, including enums and defaults. The description adds contextual meaning around synthetic voice and translated subtitles but does not add parameter-specific syntax or constraints beyond 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 description states a specific verb and resource — translating and re-voicing a video — and breaks down the pipeline (transcribe, translate, speak, lower original audio, write subtitles). It explicitly distinguishes the tool from voice cloning, lip-sync, and extract_clips.

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?

It explains when to use this tool and explicitly directs the agent to extract_clips instead when the goal is cutting shorts without changing language. It also instructs polling get_render_status until the job is completed or failed, giving clear operational follow-up.

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