Skip to main content
Glama

Transcribe (speech-to-text)

Transcribe audio (speech-to-text)

transcribe_audio
Read-onlyIdempotent

Speech-to-text for a public MP3, WAV, M4A or OGG/Opus file (audio_url, up to 30 minutes): transcript, detected language, timestamped segments and optional SRT/VTT subtitles (format=srt|vtt); task=translate returns English. Paid only, no free tier: $0.003 per started audio minute (minimum 1). Call without payment to get the exact quote for your file (x402 payment terms); then retry with params.meta["x402/payment"] or a prepaid credits key (Authorization: Bearer yatc...). Charged only when a transcript is returned. Not for FLAC or WebM (convert first).

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

Input Schema

NameRequiredDescriptionDefault
vadNoSkip silence with voice activity detection (default false)
taskNotranscribe (default) or translate (to English)
formatNojson (default); srt or vtt also returns subtitles in the srt / vtt field
promptNoOptional context words or spellings (max 500 chars)
languageNoOptional ISO 639-1 code of the spoken language (e.g. en, es, de); detected when omitted
audio_urlYesPublic https URL of an MP3, WAV, M4A or OGG/Opus file (up to 30 minutes / 30 MB).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / audio_url / description
      Previous value: -"Public https URL of an MP3 or WAV file (up to 30 minutes / 30 MB)."New value: +"Public https URL of an MP3, WAV, M4A or OGG/Opus file (up to 30 minutes / 30 MB)."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial context beyond them: pay-per-minute pricing, minimum charge, the x402 quote-then-pay handshake, and the guarantee that billing only occurs when a transcript is returned. This is exactly the kind of cost/auth disclosure an agent needs before invoking.

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 purpose, then constraints, then pricing and payment mechanics — a sensible ordering with no filler sentences. It is dense and parenthesis-heavy, packing several distinct concerns into one paragraph, but every clause carries actionable information.

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 returned fields and the optional subtitle formats, and it fully spells out the payment handshake needed to actually succeed. An agent has everything required to plan the call, anticipate cost, and handle the quote-retry loop.

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 still adds meaning by explaining format=srt|vtt as producing subtitles alongside JSON and task=translate as English output. It also documents a non-schema parameter (params._meta["x402/payment"]) and the bearer-credit alternative, which the schema does not mention at all.

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 (speech-to-text for a public audio file), names the accepted container formats and duration limit, and enumerates the actual return fields (transcript, language, timestamped segments, optional SRT/VTT). No siblings exist, so there is nothing to confuse it with, but the scope is fully self-defining.

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?

Gives positive conditions (public MP3/WAV/M4A/OGG up to 30 min), explicit exclusions (not for FLAC or WebM, convert first), a variant selector (task=translate returns English), and a concrete two-step invocation flow: call without payment for a quote, then retry with payment or credits key.

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