Skip to main content
Glama

DevX Agent Hub

Speech to text (transcribe audio, Whisper)

speech_to_text
Read-onlyIdempotent

Speech to text / transcribe audio / ASR with Whisper large-v3-turbo: give an audio URL (or base64) of WAV, MP3, FLAC, OGG, M4A or WebM (up to 20 min / 10 MB) and get the transcript, detected language, timed segments and WebVTT subtitles. task=translate returns English text from any language. $0.002 USDC per started minute on Base via x402; the quote is computed from the file duration before payment; failures are not charged. Price: $0.002 per started audio minute. First call returns the x402 PaymentRequired (no charge); retry with payment in _meta["x402/payment"].

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNotranslate = English output
promptNoOptional spelling hints / context words
languageNoISO 639-1 code like "en", or "auto" (default)
audio_urlNoPublic http(s) URL of the audio file (max 10 MB, 20 min). Preferred.
requestKeyNoOptional idempotency key: same payer + requestKey + input returns the stored result without a second charge (7 days).
audio_base64NoBase64 audio (max ~1 MB via MCP; use audio_url or the REST endpoint for larger files)
x402_paymentNoOptional. Base64 x402 v2 PaymentPayload, for clients that cannot set params._meta["x402/payment"]. Omit on the first call to get the exact price.

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 annotations, the description discloses input limits (20 min / 10 MB), supported formats, pricing per started minute, that the quote is computed before payment, that failures are not charged, and the first-call x402 payment flow. This is unusually rich behavioral context for a read-only, idempotent, open-world tool.

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?

The description is front-loaded with purpose and capabilities, then moves into task, pricing, and payment flow. It is information-dense, but the price is stated twice in slightly different form, which is minor redundancy for a payment-related tool.

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?

Given seven parameters, no output schema, and a nontrivial x402 payment workflow, the description covers what the tool returns, input limits, pricing, idempotency benefits, and the first-call payment sequence. An agent has enough context to invoke it correctly without additional documentation.

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 value by clarifying audio_url versus base64 usage, task=translate semantics, and the payment retry parameter path. It reinforces rather than duplicates the schema, though most per-parameter details remain in the schema.

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?

The description immediately states the specific verb/resource combination: speech to text / transcribe audio / ASR using Whisper large-v3-turbo. It also names supported input formats and returned artifacts, which lets an agent distinguish this from text_to_speech, translate_text, and OCR siblings without opening schemas.

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 gives clear usage context: provide an audio URL or base64 audio, use task=translate for English output from any language, and retry with x402 payment after the first PaymentRequired response. It does not explicitly compare against the demo or translate_text siblings, so it stops short of full alternative routing.

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