Skip to main content
Glama

Transcribe audio/video to subtitles

transcribe
Idempotent

Converts local audio or video files into SRT/VTT subtitles and plain text, with language detection, custom vocabulary, and optional translation for offline use.

Instructions

Transcribe a local audio or video file into subtitles / text.

file_path: absolute path to the media file (mp4, mkv, mov, mp3, wav, m4a, ...). language: ISO code such as en, th, ja, es, hi — or "auto" to detect. accurate: slower, fewest errors (large-v3 with beam search, or the best fine-tune for Thai / Hindi). formats: comma list from srt, vtt, txt, json, ass (ass = karaoke word highlight). Keep json: it is what convert_subtitles reads to re-wrap or re-export later without transcribing again. output_dir: folder for the output files; empty = next to the media file. vocabulary: names and terms to spell correctly, e.g. "Pitakpong, babelscribe" (whisper initial prompt); empty = none. translate: true = write the transcript translated to English (uses large-v3; slower than turbo). translate_to: a language code (th, ja, es, ...) = also write NAME..srt, translated by the LLM running on the user's computer (Ollama, LM Studio, llama-server). Empty = no translation. Without a local LLM the transcription is still returned, with a note; you can then translate the text yourself. Returns the files written, detected language, device used, and the transcript text.

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": {
      "file_path": "<file_path>"
    },
    "name": "transcribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatsNosrt,txt,json
accurateNo
languageNoauto
file_pathYes
translateNo
output_dirNo
vocabularyNo
translate_toNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, openWorld, idempotent, non-destructive) by disclosing the write target (output_dir defaults next to the media file), the model/tradeoff behavior for 'accurate', the external local-LLM dependency for translate_to, and the degraded-but-usable outcome when that dependency is absent. It also states what is returned — files written, detected language, device, transcript text.

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 the one-line purpose, then uses a parameter-per-line layout that is easy to scan; the json/convert_subtitles note and the LLM fallback note both earn their space. A few clauses are wordier than needed (the repeated 'empty = none/no translation' pattern), but nothing is genuinely extraneous for an eight-parameter tool.

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 an eight-parameter, non-read-only tool with no output schema, the definition covers inputs, side effects, external dependencies, fallback behavior, and return contents. An agent has everything needed to call it correctly and anticipate failure modes without further inspection.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry all eight parameters, and it does: every parameter is explained with accepted values (media extensions, ISO codes or 'auto', the srt/vtt/txt/json/ass list, empty-string semantics for output_dir, vocabulary, and translate_to). It adds meaning the bare schema cannot, notably that 'ass' means karaoke word highlighting and that vocabulary feeds whisper's initial prompt.

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 ('Transcribe a local audio or video file into subtitles / text'), and the word 'local' plus singular 'file' implicitly scopes it apart from transcribe_folder and the re-export path in convert_subtitles. An agent can identify the job 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?

Gives concrete routing guidance: use 'json' because convert_subtitles reads it to re-wrap without re-transcribing, and distinguishes translate (English via large-v3) from translate_to (local-LLM language output) with an explicit fallback when no local LLM exists. It lacks an explicit negative case (e.g. use transcribe_folder for directories, or that remote URLs are unsupported), which keeps it 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.