Skip to main content
Glama

Translate captions

translate_captions
DestructiveIdempotent

Use this when the user wants subtitles in another language: "add Spanish subtitles", "captions in Portuguese only". Lines keep their timing; a long clip takes a minute. Not for: dubbing or voiceover (not done through assistants) or caption looks (style_clip). Undoable. Costs no Horizon Units. Returns job_id for job_status.

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": {
      "clip_id": "<clip_id>",
      "language": "<language>"
    },
    "name": "translate_captions"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNobilingual (line plus translation under it) or replace (translation only).bilingual
clip_idYesClip id from list_clips.
languageYesLanguage name or code, e.g. Spanish or es; off removes it.

Output Schema

NameRequiredDescriptionDefault
nextYes
notesYes
job_idYes
statusYes
changedYes
clip_idYes
editor_urlYes
estimated_huNo
voiceover_job_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / clip_id / description
      Added value: +"Clip id from list_clips."
    • removedInput schema / properties / clip_id / title
      Removed value: -"Clip Id"
    • addedInput schema / properties / language / description
      Added value: +"Language name or code, e.g. Spanish or es; off removes it."
    • removedInput schema / properties / language / title
      Removed value: -"Language"
    • addedInput schema / properties / mode / description
      Added value: +"bilingual (line plus translation under it) or replace (translation only)."
    • removedInput schema / properties / mode / title
      Removed value: -"Mode"
    • removedInput schema / title
      Removed value: -"translate_captionsArguments"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: timing is preserved, a long clip takes roughly a minute (latency expectation), the operation is undoable despite destructiveHint=true, it costs no Horizon Units, and it returns a job_id to poll with job_status. That resolves the async/undo/cost questions an agent would otherwise have to guess at.

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?

Front-loaded with the trigger, then exclusions, then behavioral facts in clipped telegraphic style. Every clause carries distinct information; nothing is restated from the title or annotations.

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 mutation with full schema coverage and an output schema, this covers everything an agent needs: trigger, exclusions, latency, cost, reversibility, and the follow-up job_status call. No material gap remains.

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 clip_id, language, and the bilingual/replace mode are already fully documented in the schema. The description adds only the example language phrasings, not new semantics for mode or the removal behavior of 'off' — baseline 3 applies.

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?

Names a specific verb and resource ('Translate captions') and anchors it with concrete user phrasings such as "add Spanish subtitles" and "captions in Portuguese only". It also distinguishes itself from the two nearest confusables by name: dubbing/voiceover and caption styling via style_clip.

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?

Uses an explicit when/not-for structure: use when the user wants subtitles in another language, not for dubbing/voiceover, not for caption looks (style_clip). An agent can route between translate_captions and style_clip without opening either schema.

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