Skip to main content
Glama

transcribe

audio.transcribe
Read-onlyIdempotent

Convert audio files from a URL into text transcripts, with optional speaker labels, word timestamps, and language confidence.

Instructions

[$0.030/call, wallet required] Transcribe audio to text with the gpt-transcribe model. Provide a URL to an audio file (mp3, wav, m4a, etc.) and get back the transcript. Add diarize:true for speaker labels, word timestamps and a language confidence score (the scribe-v2 model, same price). No API key needed; pay per call via x402. Max 4 minutes of audio, 25 MB file size; /api/transcribe-pro takes the same models to 10 minutes. A file whose length cannot be confirmed is transcribed up to the cap, and the answer says so (trimmedToCapSeconds, durationUnconfirmed). A transient upstream failure gets one more attempt inside the same time limit, and an answer served that way says so in agent402_retried.

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": {
      "url": "<url>"
    },
    "name": "audio.transcribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL of the audio file to transcribe (mp3, wav, m4a, ogg, flac, webm)
modelNoOptional: a model to transcribe with in place of gpt-transcribe, one of mistralai/voxtral-mini-transcribe-3-0, mistralai/voxtral-small-transcribe-3-0, microsoft/mai-transcribe-2 (model-backed; same price and cap; not with diarize). The answer names the model that served it.
diarizeNotrue: transcribe with the scribe-v2 model and add speaker labels and word timestamps (`words`, `speakers`) and `language_confidence` (0 to 1, the model's confidence in the detected language). Same price and cap. Default false
languageNoOptional ISO-639-1 language code (e.g. 'en', 'es', 'fr') for better accuracy

Output Schema

NameRequiredDescriptionDefault
textYes
modelNo
durationNo
languageNo
providerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.17.1
    • addedInput schema / properties / model
      Added value: +{
      +  "description": "Optional: a model to transcribe with in place of gpt-transcribe, one of mistralai/voxtral-mini-transcribe-3-0, mistralai/voxtral-small-transcribe-3-0, microsoft/mai-transcribe-2 (model-backed; same price and cap; not with diarize). The answer names the model that served it.",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv2.7.0
    • changedInput schema / properties / diarize / description
      Previous value: -"true: transcribe with the scribe-v2 model and add speaker labels and word timestamps (`words`, `speakers`). Same price and cap. Default false"New value: +"true: transcribe with the scribe-v2 model and add speaker labels and word timestamps (`words`, `speakers`) and `language_confidence` (0 to 1, the model's confidence in the detected language). Same price and cap. Default false"
  3. Changed1 schema field changedv2.4.1
    • addedInput schema / properties / diarize
      Added value: +{
      +  "description": "true: transcribe with the scribe-v2 model and add speaker labels and word timestamps (`words`, `speakers`). Same price and cap. Default false",
      +  "type": "boolean"
      +}
  4. Addedv2.3.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds far more: pricing, wallet requirement, the 4-minute and 25 MB caps, how unconfirmed durations are handled (trimmedToCapSeconds, durationUnconfirmed), and the retry semantics (one extra attempt, agent402_retried). This is exactly the operational context an agent needs before spending money on a call.

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?

Cost and wallet requirement are front-loaded in a bracketed tag, and each sentence carries distinct information (limits, alternative endpoint, truncation reporting, retry reporting). It is dense and multi-clause though, with several failure-mode details packed into a single final sentence, slightly costing readability.

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 an output schema, full parameter coverage, and rich annotations all present, the description covers the remaining gaps: cost, auth/payment model, size and duration caps, fallback endpoint, and degraded-response signals. Nothing an agent needs to invoke it correctly or interpret edge-case responses 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 100%, so the baseline is 3; the description goes beyond it by explaining the cost/behavioral consequence of diarize (switches to scribe-v2, same price) and that model swaps are same-price and incompatible with diarize, plus that the response names the serving model. It does not add much on url or language format beyond the schema, so it lands just above baseline rather than at the top.

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 the specific verb and resource ('Transcribe audio to text') plus the default model, and the scope ('Provide a URL to an audio file... and get back the transcript') is unambiguous against siblings like web.search or browser.render. The diarize sentence clarifies a second mode without muddying the core purpose.

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?

Explicit preconditions (wallet required, no API key, pay per call via x402), explicit limits (4 minutes, 25 MB), and an explicit alternative route ('/api/transcribe-pro takes the same models to 10 minutes') for when the cap is exceeded. It also states the condition for opting into diarize and that model is not combinable with diarize, giving the agent clear selection rules.

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