Skip to main content
Glama

transcribe_audio

Transcribe audio and video files directly on Windows, converting formats automatically and returning timestamped text. Supports background jobs for long recordings.

Instructions

Transcribe a single audio or video file using whisper.cpp on Windows. Natively supports mp3 and wav. Automatically converts mp4, mkv, avi, mov, webm, m4a, flac, ogg etc. via FFmpeg — no manual conversion needed. Output defaults to timestamps format (with time codes). For files that may take more than 4 minutes, set background=true to run as a detached job and use check_progress to monitor it. ⚠️ Privacy: transcript text returned by this tool is processed by Claude's API. Pass privacy_mode=true to this tool to enable metadata-only responses per call — no transcript text will be transmitted. Set WHISPER_PRIVACY_MODE=true in env to enable globally. When privacy mode is active, a confirmation is required before every operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoOverride model path. Leave blank to use active model.
promptNoPrior context string injected before transcription. Improves accuracy for domain-specific vocabulary or speaker names. Example: 'Names: Keemstar, DramaAlert.'
best_ofNoNumber of candidate sequences to evaluate. Default 5.
diarizeNoStereo speaker diarization — requires stereo audio with speakers on separate channels.
threadsNoCPU threads. Defaults to 4 of 8.
durationNoProcess only this many milliseconds of audio from offset_t.
languageNoLanguage code (e.g. en, ja, es, fr) or 'auto' to detect automatically. Defaults to en.en
offset_tNoStart transcription at this offset in milliseconds.
beam_sizeNoBeam search width. Higher = more accurate but slower. Default 5.
file_pathYesAbsolute Windows path, e.g. C:\Users\You\Downloads\recording.mp4
vad_modelNoAbsolute path to a Silero VAD model .bin file. Strips silence before transcription.
backgroundNoRun as a detached background job. Returns a job ID immediately. Use check_progress to monitor. Recommended for files over 10 minutes.
gpu_deviceNoGPU/Vulkan device index for multi-GPU systems. Overrides the WHISPER_GPU_DEVICE env default. Check whisper-cli's startup log for the index that lists your target card.
processorsNoNumber of parallel processors. Default 1.
temperatureNoSampling temperature 0.0–1.0. Default 0.0 (deterministic).
tinydiarizeNoMono speaker-turn detection (TinyDiarize). Marks '[SPEAKER_TURN]' at speaker changes on single-channel audio. Requires a tdrz model (small.en-tdrz) — download it with download_model and activate with switch_model first.
privacy_modeNoOverride privacy mode for this call. true = metadata only, no transcript text transmitted to API. false = return text (even if WHISPER_PRIVACY_MODE=true globally). Omit to use global WHISPER_PRIVACY_MODE setting. When active, requires confirmation before each operation.
save_to_fileNoSave transcript as .txt next to the source file.
output_formatNotimestamps = with time codes (default), text = plain, json = structured, srt = SRT subtitle file, vtt = WebVTT subtitle file, lrc = LRC lyrics/karaoke, csv = CSV with timestamps.timestamps
split_on_wordNoSplit segments at word boundaries.
no_speech_tholdNoConfidence threshold below which segments are treated as silence. Default 0.6.
word_timestampsNoOutput one word per timestamped segment. Useful for clip alignment.
max_segment_lengthNoMaximum segment length in characters.
condition_on_prev_textNoRe-enable conditioning each segment on its own prior output. Default false.
Install Server

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses key behaviors: automatic FFmpeg conversion, output default to timestamps, background job behavior, and privacy/confirmation requirements. It also warns that transcript text is processed by Claude's API. These go beyond the schema and provide meaningful operational context, though it stops short of detailing error handling or return structures.

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?

The description is moderately long but every sentence carries useful information: file support, conversion, output format, background jobs, and privacy. It is front-loaded with the core purpose and uses a clear warning for privacy. Slightly dense but well-structured.

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?

Given the tool's complexity (24 parameters, no output schema), the description covers key contextual aspects: file compatibility, background execution, and privacy. It does not describe the return format beyond the timestamps default, but with the schema's output_format enum, that is partially covered. Overall, it provides enough context for an agent to select and invoke the tool correctly.

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 coverage is 100%, so the baseline is 3. The description adds value for background and privacy_mode by explaining their purpose and global env override, but it does not systematically enhance understanding of the 24 parameters. Most parameter semantics come from the schema itself.

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 clearly states the tool transcribes a single audio or video file using whisper.cpp on Windows. The verb 'transcribe' and the resource 'single audio or video file' are specific, and it distinguishes itself from siblings like transcribe_batch by noting it handles a single file.

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?

The description provides explicit guidance for long files (background=true and check_progress), privacy mode usage, and notes automatic FFmpeg conversion, implying no manual pre-processing. It does not explicitly mention alternatives like transcribe_batch, but the 'single file' wording conveys when to use this tool over the batch variant.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eviscerations/whisper-windows-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server