Skip to main content
Glama

Translate a video

translate_video

Dub a video with speech into another language, keeping the speaker's voice and syncing the lips. Ask the user to confirm they may use the face and voice first, then set consent. One language per call (use run_batch for several). Uses PopNow credits (from 5 credits per second with the default model). Call it once for the price, then again with max_credits after the user agrees.

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": {
      "video_url": "<video_url>",
      "target_language": "<target_language>"
    },
    "name": "translate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional: video-translator-v1 (default), heygen-video-translate (higher lip-sync precision, costs more) or elevenlabs-dubbing (replaces only the soundtrack, up to 15 minutes, no subtitles).
consentNoRequired. Set true only after the user confirms all of this: the face and voice are theirs or they have the person's permission, nobody in it is under 18, and it won't be used to mislead anyone, including about who someone is, or for anything unlawful. Never set it on your own.
speakersNoOptional number of people speaking, 1 to 4.
video_urlYesThe video with speech to translate (popnow:// or https link).
keep_voiceNoKeep the speaker's own voice in the new language (default true).
max_creditsNoThe most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.
source_languageNoOptional spoken language of the video (code). Leave empty to detect it.
target_languageYesThe language to dub into, as a code or a name: es or Spanish, ja or Japanese, de, fr, pt, zh-CN and so on.
keep_background_audioNoKeep music and background sound (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / model / description
      Previous value: -"Optional: video-translator-v1 (default) or heygen-video-translate (higher lip-sync precision, costs more)."New value: +"Optional: video-translator-v1 (default), heygen-video-translate (higher lip-sync precision, costs more) or elevenlabs-dubbing (replaces only the soundtrack, up to 15 minutes, no subtitles)."
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "video-translator-v1",
      -  "heygen-video-translate"
      -]New value: +[
      +  "video-translator-v1",
      +  "heygen-video-translate",
      +  "elevenlabs-dubbing"
      +]
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint false, openWorldHint true, destructiveHint false), the description discloses that the call spends credits, gives the rate ('from 5 credits per second with the default model'), and mandates a consent-gating step before the user's price agreement. That is substantive behavioral context an agent cannot get from structured fields.

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?

Four front-loaded sentences with no filler; the consent and pricing workflow sentences are dense but each carries necessary action guidance. Slight redundancy between the consent sentence and the pricing sentence, but nothing extraneous.

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 9-parameter, credit-spending mutation tool with no output schema, it covers consent, cost, and multi-language routing well. It stops short of describing what the call returns or the state of the returned video, which is a minor gap given no output schema exists.

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 still adds real semantics for the two-step flow around max_credits and consent, though it does not explain individual parameters like speakers or keep_background_audio beyond what the schema already states.

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 opens with a specific verb, resource and scope: 'Dub a video with speech into another language, keeping the speaker's voice and syncing the lips.' It also explicitly separates itself from the batch sibling with 'One language per call (use run_batch for several).'

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 names the alternative (run_batch for several languages) and gives the exact two-step usage protocol: 'Call it once for the price, then again with max_credits after the user agrees,' plus the pre-condition of confirming face/voice permission before setting consent.

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.