Skip to main content
Glama

transcribe_audio

Read-only

Turn an audio recording into text via Whisper. Give it EITHER 'url' (fetched server-side — a pre-signed link works, no auth is sent) OR 'base64'. Use it for voicemail from the phone system, call recordings and voice notes: those arrive as sound, and guessing what was said is not an option. Optional 'language' (ISO-639-1 like 'de') skips auto-detection and is more reliable on short clips; optional 'prompt' is a few words of context that stop Whisper from mangling proper nouns (company names, people). Returns the transcript plus duration and detected language. Limit is 25 MB per file — split longer recordings. Whisper is OpenAI-only: a tenant on Ollama falls back to the environment key.

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
urlNoAddress of the audio file. Fetched by the server; pre-signed links are fine.
modelNoDefault whisper-1.
base64NoThe audio itself, base64. A data: prefix is stripped.
promptNoContext words for names and jargon.
filenameNoName with extension, e.g. 'voicemail.mp3'. Whisper derives the format from it — without one it guesses.
languageNoISO-639-1, e.g. 'de'. Omit to auto-detect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses that the URL is fetched server-side with no auth forwarded, that pre-signed links work, the 25 MB per-file ceiling, the OpenAI-only constraint with an Ollama fallback to the environment key, and what the response contains (transcript, duration, detected language). That is a lot of operational context the annotations cannot carry.

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 purpose, then the input fork, then usage, then options, then limits — a sensible order for a long description. The voicemail/call-recording/voice-note enumeration is slightly padded, but nearly every sentence carries a distinct fact.

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?

For a six-parameter, zero-required transcription tool with no output schema, it covers input mutual exclusivity, size limits, auth behavior, engine constraints, and the shape of the return value. An agent has everything needed to call it correctly on the first attempt.

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, but the description adds real meaning the schema lacks: 'url' and 'base64' are mutually exclusive alternatives (critical given zero required parameters), 'language' improves reliability on short clips, and 'prompt' exists to protect proper nouns. It does not mention 'model' or 'filename', which the schema does cover.

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?

"Turn an audio recording into text via Whisper" gives a specific verb (turn into text) and resource (audio recording) plus the engine used. The enumerated inputs (url or base64) and the use-case list make it unmistakable against the surrounding CRM/mailbox tools.

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?

It names the concrete situations to use it for (voicemail from the phone system, call recordings, voice notes) with a rationale — "guessing what was said is not an option." It does not state when NOT to use it or name an alternative transcription route, so it stops short of a 5.

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.