Skip to main content
Glama

Audio to text transcription

transcribe_audio
Read-onlyIdempotent

Speech to text: turn a voice note, phone call, meeting recording, podcast clip or video (mp3, m4a, wav, ogg, mp4, webm, up to 15 minutes) into text with timestamps, using Whisper. Language is detected automatically. Use when you need the words, a summary or quotes from audio or video. Send {url} or {base64}, optional language (2-letter code). Returns {language, duration, text, segments}. Errors: 413 over 15 minutes, 422 not audio. Price: $0.03 USDC per call (x402).

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
urlNoPublic URL of the file. Provide url OR base64.
base64NoFile contents, base64-encoded (max 20 MB). Provide url OR base64.
languageNoOptional 2-letter language code, e.g. en

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (which already cover read-only/idempotent/open-world), the description discloses behavior an agent could not infer: Whisper as the engine, automatic language detection, timestamped segments, the 15-minute ceiling, 20 MB base64 cap, specific error semantics (413 over-length, 422 not audio) and the per-call price of $0.03 USDC via x402. That cost and error disclosure is unusually valuable for a paid, open-world call.

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?

Front-loaded with the core action, then formats and limits, then usage, then I/O shape, errors and price – roughly five dense sentences with no filler. Every element (formats, limit, error codes, cost) changes caller behavior.

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 compensates by naming the return fields ({language, duration, text, segments}), and it covers the constraints, error paths and pricing a caller must know before invoking. Nothing material is left for the agent to discover by trial.

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 already 100%, so the description only needs to add meaning – and it does by tying the 15-minute duration limit to both input modes and reiterating that language is an optional 2-letter code with automatic detection as fallback. It does not explain precedence when both url and base64 are supplied, which the schema also leaves ambiguous.

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?

"Speech to text: turn a voice note... into text with timestamps, using Whisper" gives a specific verb, resource, engine, supported containers (mp3, m4a, wav, ogg, mp4, webm) and a hard scope (up to 15 minutes). It is immediately separable from OCR/document siblings because it names audio and video as the input class.

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?

"Use when you need the words, a summary or quotes from audio or video" states a clear trigger condition and implicitly scopes out images/PDFs. It stops short of naming a sibling alternative for non-audio input or stating when-not to call it (e.g., longer files), so it is not a full routing statement.

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