Skip to main content
Glama

transcribe_podcast

Converts podcast audio or video files into word-level timestamped transcripts with speaker labels, returning duration, language, and speaker metadata for clip selection.

Instructions

STEP 1: Transcribe a podcast video/audio file. This is typically the first tool you call.

What it does: Uses Whisper AI for word-level timestamps, with speaker detection (who said what) on by default. Speaker labels are what let a clip tell a question from an answer, so leave them on for any interview. Pass enable_diarization=false to skip them and save time on a single-speaker recording. Returns: lightweight metadata only, namely duration, language, word/segment counts, speaker summary, and packed_ready flag. The actual transcript body is NOT returned here (it would be 500KB+ for a typical episode). Read the content via get_ui_state(include_transcript: true) which returns a compact phrase-grouped markdown view (~10x smaller than raw segments). Caching: Results are cached by file hash, so the same file won't be re-transcribed. Supported formats: MP4, MOV, WebM, MKV, MP3, WAV.

After transcription: call rank_clip_candidates(video_path) for a ~20-clip shortlist (do not read the whole transcript unless you need to rewrite a range). Or call process_episode(video_path) to transcribe, rank, and render in one job.

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_podcast"
  }
}

Input Schema

NameRequiredDescriptionDefault
engineNoTranscription engine
languageNoISO language code
file_pathYesAbsolute path to the podcast file
model_sizeNoWhisper model sizesmall
num_speakersNoExact number of speakers if known (e.g. 2). Auto-detects if omitted.
start_secondsNoSample mode: only transcribe a window starting here (seconds into the source), instead of the whole file, e.g. to test a language on 40s before committing to a full run. Pair with duration_seconds. Not written to the main transcript cache.
duration_secondsNoSample mode window length in seconds. Defaults start_seconds to 0 if omitted.
enable_diarizationNoSpeaker labels (who is speaking). On by default: without them a clip cannot tell a question from an answer. Set false only for a single-speaker recording. Falls back to no labels with a warning where torch is unavailable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.9.0
    • changedInput schema / properties / model_size / default
      Previous value: -"base"New value: +"small"
  2. Changed3 schema fields changedv2.8.0
    • addedInput schema / properties / duration_seconds
      Added value: +{
      +  "description": "Sample mode window length in seconds. Defaults start_seconds to 0 if omitted.",
      +  "type": "number"
      +}
    • changedInput schema / properties / engine / enum
      Previous value: -[
      -  "whisper-py",
      -  "whispercpp",
      -  "assemblyai"
      -]New value: +[
      +  "whisper-py",
      +  "whispercpp",
      +  "assemblyai",
      +  "omnilingual"
      +]
    • addedInput schema / properties / start_seconds
      Added value: +{
      +  "description": "Sample mode: only transcribe a window starting here (seconds into the source), instead of the whole file, e.g. to test a language on 40s before committing to a full run. Pair with duration_seconds. Not written to the main transcript cache.",
      +  "type": "number"
      +}
  3. Changed2 schema fields changedv2.7.3
    • changedInput schema / properties / enable_diarization / default
      Previous value: -falseNew value: +true
    • changedInput schema / properties / enable_diarization / description
      Previous value: -"Set true for speaker labels (who is speaking). Works where torch is available (whisper-py engine); slower. Default: false"New value: +"Speaker labels (who is speaking). On by default: without them a clip cannot tell a question from an answer. Set false only for a single-speaker recording. Falls back to no labels with a warning where torch is unavailable."
  4. Changed1 schema field changedv2.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
  5. Changed2 schema fields changedv2.5.0
    • changedInput schema / properties / enable_diarization / default
      Previous value: -trueNew value: +false
    • changedInput schema / properties / enable_diarization / description
      Previous value: -"Enable speaker detection (who is speaking). Default: true"New value: +"Set true for speaker labels (who is speaking). Works where torch is available (whisper-py engine); slower. Default: false"
  6. Changed1 schema field changedv2.3.0
    • addedInput schema / properties / engine
      Added value: +{
      +  "description": "Transcription engine",
      +  "enum": [
      +    "whisper-py",
      +    "whispercpp",
      +    "assemblyai"
      +  ],
      +  "type": "string"
      +}
  7. First observedv2.0.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so thoroughly: it discloses the return payload (metadata only, not the 500KB+ transcript body), the retrieval path via get_ui_state(include_transcript: true), hash-based caching that prevents re-transcription, supported formats (MP4, MOV, WebM, MKV, MP3, WAV), and a fallback warning when torch is unavailable for diarization. These are exactly the non-obvious behaviors an agent cannot infer from the schema.

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-loaded with the action and its workflow position, then organized under clear labels (What it does / Returns / Caching / Supported formats / After transcription). Dense but nearly every sentence carries operational value; the only minor waste is the diarization rationale, which duplicates the schema description.

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 8-parameter tool with no output schema and no annotations, this description covers the full picture: inputs, engine behavior, return content, caching, format support, and the recommended follow-up chain. An agent has everything needed to invoke it correctly and to know what it will and will not get back.

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 every parameter is already documented in structured data, and the description's diarization advice ('leave them on for any interview', 'set false only for a single-speaker recording') largely restates what the enable_diarization schema field already says. It adds context on engine choice and file formats but nothing about start_seconds/duration_seconds sample-mode semantics beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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 podcast video/audio file') and even labels itself 'STEP 1' / 'typically the first tool you call', which immediately positions it against siblings like process_episode and get_ui_state. An agent can tell exactly what this does 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 Guidelines5/5

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

Explicitly names alternatives and the conditions that select them: 'call rank_clip_candidates(video_path) for a ~20-clip shortlist' after transcription, or 'call process_episode(video_path) to transcribe, rank, and render in one job'. It also tells the agent when to avoid reading the whole transcript and when to turn off diarization, which is exactly the when/when-not guidance this dimension rewards.

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