Skip to main content
Glama

transcribe_audio

Convert speech in audio files to text with language auto-detection, speaker diarization, word timestamps, and custom vocabulary.

Instructions

Transcribe speech in an audio file (language auto-detected).

path: audio file (mp3, wav, m4a, aac, ogg, flac, opus). For video use gemini_chat. word_timestamps: word-level timings (for subtitles). diarization: separate up to 8 speakers. language_codes: hints, e.g. ["en-US"]. custom_vocabulary: brand/proper names (<=1000 terms). verbatim: keep filler words. save: write the transcript to a .txt and return only its path.

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": {
      "path": "<path>"
    },
    "name": "transcribe_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
saveNo
modelNo
verbatimNo
diarizationNo
language_codesNo
word_timestampsNo
custom_vocabularyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.0.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose real behavior — language is auto-detected, diarization caps at 8 speakers, custom_vocabulary is limited to 1000 terms, and save changes the return value to a file path only — but it omits file size/duration limits, cost, auth requirements, and failure behavior for a long-running transcription job.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One lead sentence followed by a compact line per parameter, with the core operation and the sibling escape hatch front-loaded. No filler, and the dense line format is easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with no annotations and no output schema, this covers nearly everything an agent needs, including the format list and the save-mode return-value change. The unmentioned 'model' parameter and the lack of any size/duration constraint are the remaining gaps.

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 description coverage is 0%, so the description must compensate, and it does for 7 of 8 parameters: accepted audio formats for path, and the meaning of save, verbatim, diarization, language_codes, word_timestamps, and custom_vocabulary. The 'model' parameter is never mentioned, leaving one parameter undocumented in both schema and description.

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 speech in an audio file') and immediately distinguishes itself from the sibling gemini_chat for video input. An agent can identify the operation and its media scope without opening the schema.

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?

Explicitly routes video input to gemini_chat, which is a genuine when-not-to-use rule. However, there is no guidance on when to enable save, verbatim, diarization, or word_timestamps — those lines define the flags but do not describe situations that call for them.

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