Skip to main content
Glama

Dub video

dub_video

Create a copy of an existing video with its speech translated into another language, keeping the original voices and timing. Returns toolExecutionId; get_tool_execution provides status and the output video file. The source file is unchanged. Use translate_video instead when the user wants an editable project or several languages.

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": {
      "videoFileId": "<videoFileId>",
      "targetLanguage": "<targetLanguage>"
    },
    "name": "dub_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoFileIdYesVideo to transform. Use fileId from upload_file, list_files, or a succeeded video-generation result.
sourceLanguageNoLanguage spoken in the source video, as a BCP-47 code. Omit to detect it automatically.
targetLanguageYesLanguage to translate the speech into, as a BCP-47 code such as es, fr, or de.

Output Schema

NameRequiredDescriptionDefault
errorNoError details when status is failed; otherwise null.
statusNoJob status: pending, running, succeeded, failed, or cancelled.
resultsNoGenerated results with download URLs when succeeded.
toolTypeNoTool name (e.g. GENERATE_IMAGE).
attemptIndexNoCurrent or latest attempt index.
toolExecutionIdYesTool execution id (vg_tool_...).
progressPercentageNoCompletion progress 0-100 (present after polling).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare a non-destructive write (readOnlyHint=false, destructiveHint=false) but say nothing about asynchronous execution. The description adds real behavioral context not in annotations: it returns a toolExecutionId, status and the output file come from get_tool_execution, and the source file is left unchanged. It does not mention that repeated calls are not idempotent (idempotentHint=false), which would have made it a 5.

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: purpose first, then the async follow-up path, then the sibling routing. Every sentence earns its place and the model is front-loaded.

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 three-parameter async transformation tool with an output schema, nothing essential is missing: the description covers what is produced, how to retrieve the result, the non-destructive guarantee, and the alternative tool. Return-value detail can be left to the output schema.

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 videoFileId, sourceLanguage (omit to auto-detect) and targetLanguage (BCP-47) are already fully documented in the schema. The description adds no parameter-level meaning beyond noting the source is unchanged; baseline 3 applies when the schema carries the load.

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 and resource: 'Create a copy of an existing video with its speech translated into another language.' It further pins down the differentiating behavior ('keeping the original voices and timing'), so an agent can distinguish it from dubbing-adjacent siblings without opening a 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?

Gives an explicit exclusion with a named alternative: 'Use translate_video instead when the user wants an editable project or several languages.' The condition that selects the sibling is concrete, leaving nothing to inference.

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.