Skip to main content
Glama

Transcribe audio

transcribe

Transcribe an audio file to text using VoiceLabs' Whisper. Give the audio exactly one way: audioUrl, a public https:// URL serving the file itself (wav, mp3, m4a, aac, ogg, flac, aiff or webm; up to 10 MiB), or audioBase64, the file's real bytes (≤10 MiB of base64 text). A payload that is not real audio — under 1 KiB, a bare header, or made-up placeholder bytes — is refused without being transcribed. If the user has an audio file you cannot read the bytes of, ask them for a public link, or to upload it on the Captures page of the VoiceLabs studio (https://app.voicelabs.now/studio). Returns the transcript and the created capture id. At most 2 transcriptions run at once per account: a third is refused as RATE_LIMITED with retryAfterSeconds (a refused call still counts toward the request ceiling), so keep at most 2 in flight and retry when one of your own finishes.

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
audioUrlNoA public https:// URL that serves the audio file itself (wav, mp3, m4a, aac, ogg, flac, aiff or webm; no redirects, up to 10 MiB). Give exactly one of audioBase64 or audioUrl.
languageNoISO language code (auto-detected when omitted).
audioBase64NoThe audio file's real bytes as base64 (≤10 MiB of base64 text; at least 1 KiB of audio). Only use this when you actually hold the file's bytes — a made-up or placeholder payload is refused. Give exactly one of audioBase64 or audioUrl.

Output Schema

NameRequiredDescriptionDefault
languageYes
captureIdYes
durationMsYes
transcriptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / properties / durationMs / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / durationMs / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / language / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / language / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations by disclosing payload validation (non-audio payloads under 1 KiB, bare headers, or placeholder bytes are refused), the concurrency ceiling of 2 with RATE_LIMITED and retryAfterSeconds, and the non-obvious detail that refused calls still count toward the request ceiling. Annotations only declare the safety profile, so this description carries real operational weight.

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-loads purpose in the first sentence and orders the rest by decision-criticality: input form, validation, fallback, return, rate limits. The closing rate-limit sentence is long and slightly circuitous but still earns its place operationally.

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, yet the description still names the return shape (transcript plus capture id), and with 100% schema coverage plus rich validation and rate-limit disclosure, an agent has everything needed to call this correctly on the first attempt.

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% and the schema descriptions already state the exactly-one-of rule, the accepted formats, the 10 MiB cap, and the 1 KiB minimum, so the description largely restates rather than extends them. The added nuance about the rejection behavior is useful but is really behavioral rather than parameter-level meaning.

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 an audio file to text') plus the underlying engine (Whisper), which cleanly separates it from the text-to-speech sibling 'speak'.

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

Usage Guidelines4/5

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

Gives concrete routing guidance for the two input modes and, importantly, a fallback path when the agent cannot read a user's file bytes: ask for a public link or point to the Captures upload page. It also tells the agent how to behave under concurrency, though it never references sibling tools directly.

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