Skip to main content
Glama

Agent Data Tools: Speech to text and text to speech

Dubbing, dub audio: translated voice track in English or Spanish, plus subtitles

dub
Read-only

Dub a clip: speech in any of 90+ languages is transcribed, translated and spoken again, with translated SRT on the original timings. New voice in English or Spanish (Aura-2 MP3, pick a voice, up to 2,500 characters); fr, zh, ja and ko are retired with MeloTTS (Workers AI, 20 Nov 2026). MP3/WAV up to 10 minutes or other formats up to 2 MB, by URL or upload. Keeps the order, not exact timing. Use for course clips and product videos. Example: url=https://upload.wikimedia.org/wikipedia/commons/7/77/Tofino_pronunciation.mp3, to=es. Price $0.10/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "url": "<url>",
      "to": "<to>"
    },
    "name": "dub"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesLanguage of the new voice: en or es (Aura-2; fr, zh, ja and ko are retired with MeloTTS, 20 Nov 2026)
urlYesAbsolute http(s) URL of the recording (MP3/WAV up to 10 minutes; M4A, OGG or WebM up to 2 MB); or POST the file itself (raw body, multipart `file` part, or base64 in JSON)
fromNoSpoken language of the recording (default: detected)
voiceNoAura-2 voice for the new track (default luna for en, aquila for es)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / to / description
      Previous value: -"Language of the new voice: en, es, fr, zh, ja or ko"New value: +"Language of the new voice: en or es (Aura-2; fr, zh, ja and ko are retired with MeloTTS, 20 Nov 2026)"
    • changedInput schema / properties / to / enum
      Previous value: -[
      -  "en",
      -  "es",
      -  "fr",
      -  "zh",
      -  "ja",
      -  "ko"
      -]New value: +[
      +  "en",
      +  "es"
      +]
    • changedInput schema / properties / voice / description
      Previous value: -"Aura-2 voice for an en or es track (default luna for en, aquila for es); fr, zh, ja and ko have one voice each"New value: +"Aura-2 voice for the new track (default luna for en, aquila for es)"
  2. Changed3 schema fields changed
    • changedInput schema / properties / to / description
      Previous value: -"Language of the new voice: en or es"New value: +"Language of the new voice: en, es, fr, zh, ja or ko"
    • changedInput schema / properties / to / enum
      Previous value: -[
      -  "en",
      -  "es"
      -]New value: +[
      +  "en",
      +  "es",
      +  "fr",
      +  "zh",
      +  "ja",
      +  "ko"
      +]
    • changedInput schema / properties / voice / description
      Previous value: -"Aura-2 voice for the new track (default luna for en, aquila for es)"New value: +"Aura-2 voice for an en or es track (default luna for en, aquila for es); fr, zh, ja and ko have one voice each"
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: pricing ($0.10/call, failed calls free), the non-idempotent cost implication ('each call is charged, so repeats are not free'), and a quality caveat ('Keeps the order, not exact timing'). It also confirms the retried-model status for fr/zh/ja/ko, which the agent could not infer from readOnlyHint alone.

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-loads what the tool produces before limits, pricing, and the example, and every sentence carries information. It is dense—pricing, model retirement date, and format limits packed into one block—but nothing is clearly redundant.

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?

With no output schema, the description still indicates the outputs (re-dubbed MP3 voice plus translated SRT on original timings) and states cost and failure behavior, which is enough to decide whether to call. The exact response shape (e.g. download URLs) is not spelled out.

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 baseline is 3, but the description adds the 2,500-character voice cap (not in the schema), the 'pick a voice' guidance, and a worked example with url and to. It reinforces rather than merely repeats the parameter docs.

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 concrete verb and artifact ('Dub a clip') plus the full pipeline (transcribe, translate, speak again, translated SRT), which separates it from siblings like subtitles_translate (subtitle-only) and text_to_speech (no source audio). An agent can identify the resource and output without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

'Use for course clips and product videos' gives a positive usage context and the input limits implicitly scope when it applies. No explicit exclusions or named alternatives (e.g. use subtitles_translate if you only need captions), so it stops short of a 5.

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