Skip to main content
Glama

Transcribe audio or video

transcribe_media
Idempotent

Get the spoken words out of any audio or video in the user's account, timed and attributed to speakers.

WHAT IT TAKES. One media reference — an upload or a generation, in the exact shape list_media returns. Anything with a sound track qualifies: an uploaded video or podcast, a voice-over or music track generated here, a clip this studio rendered. Images are refused. Up to 60 minutes of media per file. Costs no credits.

HOW IT RUNS. The first call queues the transcription and returns ready:false — call get_transcription with the same media to poll, usually a few seconds for a short clip and longer for a long one. The result is stored against the file, so once it is ready every later call returns it instantly and for free.

WHAT COMES BACK. segments are timed lines in order, each with start_seconds, end_seconds, a diarization speaker label and its text; speakers lists the distinct labels; language is what the speech model detected; text is the whole thing as prose for reading.

USING IT TO ANALYSE A VIDEO. This is the words half. get_video_analysis_bundle is the pictures half — measured shot boundaries and keyframe images for a video upload — and the two are meant to be read together: the bundle tells you when the cuts are and what is on screen, this tells you what is being said over them and by whom. Reach for this one alone whenever the file is audio, is a generation rather than an upload, is longer than the bundle accepts, or when you need to know who spoke.

The timings and speaker labels are measured, not guessed. Quote them; never round, shift or invent one. An empty transcript is a real answer — silent footage, an instrumental track — and not a reason to retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mediaYesThe audio or video to transcribe — an upload or a generation, in the shape list_media returns.
retryNoRun a failed transcription again. A ready transcript is never replaced; a plain call polls.
chunk_max_secondsNoAlso cut the recording at its pauses into lines of at most this many seconds (15 for an avatar clip): `chunks` gives each line's start_seconds and duration_seconds for trim_audio.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
errorYes
readyYes
chunksYes
statusYes
messageYes
languageYes
media_idYes
segmentsYes
speakersYes
media_kindYes
media_typeYes
chunk_errorYes
instructionsYes
segment_countYes
duration_secondsYes
transcription_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / retry / description
      Previous value: -"Transcribe again, discarding what is stored. Only needed after a failed status; a plain call polls and never re-runs a settled transcript."New value: +"Run a failed transcription again. A ready transcript is never replaced; a plain call polls."
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources