Skip to main content
Glama

Transcribe every audio/video in a folder

transcribe_folder
Idempotent

Transcribe every audio and video file in a folder to SRT, VTT, TXT, JSON, or ASS, with optional translation, language detection, vocabulary hints, and recursive subfolder processing.

Instructions

Transcribe every audio and video file in a folder, one at a time.

folder: absolute path to the folder holding the media files. language: ISO code such as en, th, ja, es, hi — or "auto" to detect each file separately. 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). output_dir: folder for the output files (sub-folders are kept); empty = next to each media file. vocabulary: names and terms to spell correctly, e.g. "Pitakpong, babelscribe"; empty = none. translate: true = write every transcript translated to English (uses large-v3; much slower). recursive: true = also transcribe media in sub-folders. Returns the counts plus one entry per file (path, files written, language, seconds) — a failure is reported in its own entry and the batch continues with the next file. Two files that would write the same subtitle name (talk.mp4 and talk.mp3) keep their full name: talk.mp4.srt, talk.mp3.srt.

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": {
      "folder": "<folder>"
    },
    "name": "transcribe_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderYes
formatsNosrt,txt,json
accurateNo
languageNoauto
recursiveNo
translateNo
output_dirNo
vocabularyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, yet the description adds real behavioral context: files are written to disk, processing is sequential, a per-file failure does not abort the batch, and same-named media keep full filenames (talk.mp4.srt vs talk.mp3.srt). It stops short of stating whether existing output files are overwritten or what happens if output_dir does not exist, which matters for a file-writing tool.

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?

The purpose sentence is front-loaded, then one line per parameter, then return and failure semantics. Dense but every line carries distinct information an agent needs; no filler or restated titles.

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 an eight-parameter batch job with no output schema, the description covers the return shape (counts plus per-file path, files written, language, seconds) and failure handling. Remaining gaps are operational edge cases: overwrite policy for existing outputs and behavior when output_dir is missing or unwritable.

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 description coverage is 0%, so the description must carry all eight parameters, and it does: folder path semantics, ISO language codes with 'auto' meaning per-file detection, what 'accurate' actually switches to (large-v3 with beam search), the allowed format list with 'ass' explained as karaoke highlighting, output_dir sub-folder preservation, vocabulary examples, and translate's model and cost. This is substantially more than the bare schema titles and defaults provide.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource with explicit scope: 'Transcribe every audio and video file in a folder, one at a time.' The batch-folder scope implicitly separates it from the single-item 'transcribe' sibling, but no sibling is named, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage guidance is implied through parameter effects ('accurate: slower, fewest errors', 'translate: much slower') rather than explicit when-to-use/when-not rules. There is no statement telling the agent to prefer this over 'transcribe' for a single file, or when to leave formats/translate at defaults. An agent can infer intent from the scope sentence but gets no explicit routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.