Skip to main content
Glama

Transcribe

transcribe

Transcribe speech in a video or audio file to captions with Workers AI Whisper (large-v3-turbo); returns SRT, VTT or JSON with word timestamps (format). Paid: 1 credit per audio minute (1 credit = 1 cent); a short balance gets 402 insufficient_balance (requiredCents, balanceCents, checkoutUrl) and no job starts. Use it when you only need the text or want to edit it before burning (then edit_transcript -> burn_captions). For burned-in subtitles in one call use caption_video; for highlights use create_clips. Audio is extracted to 16 kHz mono (video frames are not decoded). Language defaults to auto-detect; the saved glossary is applied. Results are cached per key, language, format and duration; another key cannot read them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "transcribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdNoId from upload {action:'start'}, upload {action:'inline'}, or POST /v1/uploads.
formatNoDefault json, including word timestamps.
api_keyNoOnly for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.
glossaryNoNames and terms. Used as the Whisper prompt and to fix close spellings. Included in the transcription price.
languageNoBCP-47 language, or omit for auto.
mediaUrlNoHTTPS URL of the audio or video file.
maxCreditsNoRefuse the job when the debit would exceed this many cents.
webhookUrlNoPublic https URL. POSTed an HMAC-signed JSON body when the job finishes. Three tries.
notifyEmailNoOptional completion email. Free. Needs the email binding.
durationSecondsNoOptional duration hint used before probe.
useSavedGlossaryNoDefault true: also apply the saved glossary (update_glossary {action:'save'}) with its alias fixes, e.g. 'awesome video' -> 'AwesomeVideo'. Free.

Output Schema

NameRequiredDescriptionDefault
idNoJob id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId.
kindNoJob kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...).
stepNoCurrent pipeline step while running.
errorNoFailure reason when status is failed.
resultNoResult when succeeded: url, files[{name, url}], clips, text...
statusNoqueued, running, succeeded or failed.
progressNoProgress (0-1) and ETA while running.
warningsNoNon-blocking notes.
costCentsNoCredits charged (1 credit = 1 cent).
expiresAtNoWhen the result files are deleted.
refundedCentsNoCredits refunded after a failure.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Only for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / fileId / description
      Previous value: -"Id from create_upload, upload_base64, or POST /v1/uploads."New value: +"Id from upload {action:'start'}, upload {action:'inline'}, or POST /v1/uploads."
    • changedInput schema / properties / useSavedGlossary / description
      Previous value: -"Default true: also apply the saved glossary (save_glossary) with its alias fixes, e.g. 'awesome video' -> 'AwesomeVideo'. Free."New value: +"Default true: also apply the saved glossary (update_glossary {action:'save'}) with its alias fixes, e.g. 'awesome video' -> 'AwesomeVideo'. Free."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "description": "A job: poll get_job with id until status is succeeded or failed.",
      +  "properties": {
      +    "costCents": {
      +      "description": "Credits charged (1 credit = 1 cent).",
      +      "type": "number"
      +    },
      +    "error": {
      +      "description": "Failure reason when status is failed."
      +    },
      +    "expiresAt": {
      +      "description": "When the result files are deleted."
      +    },
      +    "id": {
      +      "description": "Job id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId.",
      +      "type": "string"
      +    },
      +    "kind": {
      +      "description": "Job kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...).",
      +      "type": "string"
      +    },
      +    "progress": {
      +      "description": "Progress (0-1) and ETA while running."
      +    },
      +    "refundedCents": {
      +      "description": "Credits refunded after a failure.",
      +      "type": "number"
      +    },
      +    "result": {
      +      "description": "Result when succeeded: url, files[{name, url}], clips, text..."
      +    },
      +    "status": {
      +      "description": "queued, running, succeeded or failed.",
      +      "type": "string"
      +    },
      +    "step": {
      +      "description": "Current pipeline step while running.",
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "description": "Non-blocking notes.",
      +      "items": {},
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond annotations: price (1 credit per audio minute, 1 cent), the exact 402 insufficient_balance failure shape with requiredCents/balanceCents/checkoutUrl and the guarantee no job starts, per-key caching on key/language/format/duration with an isolation caveat, 16 kHz mono extraction with no video decoding, and webhook delivery attempts. The only gap is that async job lifecycle (how to poll the job, since idempotentHint=false and it is a paid write) is left to get_job, which the description never names.

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 core action and output, then cost, then alternatives, then mechanics — a sensible ordering with near-zero waste. Slightly dense with parenthetical asides (checkoutUrl fields, the arrow chain edit_transcript -> burn_captions) that make it harder to skim than it needs to be.

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?

An output schema exists so return-shape explanation is unnecessary, and the description covers what is left: cost model, pre-flight refusal semantics, caching/isolation, audio preprocessing, webhook retries, and where this tool sits in the pipeline. Nothing material for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so baseline is 3, but the description adds real meaning: that the format output includes word timestamps, that language auto-detects by default, that glossary terms feed the Whisper prompt and fix near-miss spellings and are included in the price, and that the saved glossary is applied unless disabled. It also explains that cache keys depend on format, language and duration, which implies these parameters change billing-relevant outcomes.

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+resource ('Transcribe speech in a video or audio file to captions') plus the underlying engine (Workers AI Whisper large-v3-turbo) and outputs. It explicitly distinguishes itself from sibling tools caption_video (burned-in subtitles) and create_clips (highlights), so an agent can route without opening a 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?

Gives an explicit when-to-use rule ('when you only need the text or want to edit it before burning') and names the follow-on tools edit_transcript -> burn_captions, plus explicit when-not alternatives caption_video and create_clips. Both the inclusion and exclusion conditions are stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources