Skip to main content
Glama

Transcribe Audio

transcribe_audio
Read-only

Speech to text with Whisper large v3 turbo: transcribe audio (mp3, wav, m4a, ogg, webm; up to 20 MB, about 20 minutes) from a URL or base64, or translate the speech into English. Returns the text, language, duration and timed segments; optionally word-level timestamps and ready-to-use SRT or VTT subtitles (captions of at most 2 lines and 6 seconds). Costs USD 0.01 per call, paid with x402 (USDC on Base); calls that fail are not charged.

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

Input Schema

NameRequiredDescriptionDefault
taskNotranslate = into English
languageNoLanguage code such as en or hi (detected when left out)
audio_urlNoA public http(s) URL
subtitlesNoAlso return a subtitle file in this format, in subtitles
timestampsNoword = also the start and end of every word (default segment)
audio_base64NoThe audio file, base64-encoded

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / subtitles
      Added value: +{
      +  "description": "Also return a subtitle file in this format, in subtitles",
      +  "enum": [
      +    "srt",
      +    "vtt"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / timestamps
      Added value: +{
      +  "description": "word = also the start and end of every word (default segment)",
      +  "enum": [
      +    "segment",
      +    "word"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and non-destructive behavior, and the description goes well beyond them by disclosing the USD 0.01 per-call price, the x402/USDC-on-Base payment mechanism, and that failed calls are not charged. It also describes return contents (text, language, duration, timed segments, optional SRT/VTT) and the 2-line/6-second caption constraint, though it does not cover rate limits or retry behavior.

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?

A single dense paragraph that front-loads the core action and then stacks limits, outputs and pricing; almost every clause carries information the agent needs. It could be marginally easier to scan if the constraints and pricing were separated, but there is no filler.

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?

With no output schema, the description fully compensates by enumerating the returned fields and the optional subtitle outputs. Combined with input limits, accepted formats, source options, pricing and failure-charging policy, an agent has everything needed to call this correctly.

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 100%, so the baseline is 3, and the description adds real meaning on top: subtitle captions are capped at 2 lines and 6 seconds, word timestamps include per-word start/end, translation targets English only, and language is auto-detected when omitted. It does not clarify any interaction between audio_url and audio_base64 when both are supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource (transcribe audio) plus the exact formats supported (mp3, wav, m4a, ogg, webm) and the alternate task (translate speech into English). It does not distinguish itself from the sibling translate_text, which handles text-to-text translation, so the audio-vs-text split is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The size and duration envelope (up to 20 MB, about 20 minutes) and the URL-or-base64 input options imply when the tool is applicable, but the description never states when to use this versus translate_text or extract_data, nor what to do for oversized files. Usage is inferred rather than instructed.

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