Skip to main content
Glama

Transcribe audio

transcribe
Read-only

Convert wav, mp3, flac, or ogg audio into a timed text transcript or SRT/VTT subtitles locally with Whisper, including automatic language and duration detection.

Instructions

Speech to text from an audio file, with Whisper (whisper-small), locally. Detects the language. Returns the language, the duration and the transcript as one line per segment, each starting with its time ([mm:ss]). With format srt or vtt it returns subtitles instead. Takes roughly a tenth of the recording's length on a desktop CPU; the model (1.5 GB) downloads on first use. For a video, extract its audio to one of the formats below first. The transcript is text, so classify, similarity and rerank take it from there. To save subtitles to a file without returning them, use write_subtitles.

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

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path of a wav, mp3, flac or ogg file.
formatNotext (default): language, duration and one timed line per segment. srt or vtt: SubRip or WebVTT subtitles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.5
    • addedInput schema / properties / format
      Added value: +{
      +  "description": "text (default): language, duration and one timed line per segment. srt or vtt: SubRip or WebVTT subtitles.",
      +  "enum": [
      +    "text",
      +    "srt",
      +    "vtt"
      +  ],
      +  "type": "string"
      +}
  2. First observedv0.8.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes well beyond them by disclosing the 1.5 GB model download on first use, the ~10% of recording length runtime on desktop CPU, and exactly what the return looks like per format (language, duration, timed segments, or SRT/VTT). These are the operational facts that determine whether an agent should call it right now.

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 purpose and output shape, then cost, then prerequisites and alternative. Every sentence carries information, though the block is dense and a couple of clauses (segment timing format, downstream tools) could be tightened for easier scanning.

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 two-parameter tool with no output schema, the description covers purpose, input prerequisites, output shape per format, cost/latency, first-use download, and the sibling alternative. Nothing an agent needs in order to call it correctly is missing.

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 both path and format are already documented with enum values and per-value meaning. The description largely restates the format behavior rather than adding syntax or constraints the schema lacks, so the 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?

States a specific verb and resource ("Speech to text from an audio file") plus the exact engine (Whisper whisper-small) and that it runs locally. It is immediately distinguishable from write_subtitles, which is named explicitly later as the file-saving variant.

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?

Gives explicit preconditions (for video, extract audio to a supported format first) and names the alternative for the adjacent use case: "To save subtitles to a file without returning them, use write_subtitles." It also indicates downstream handoff to classify, similarity and rerank, so the agent knows where this fits in a pipeline.

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