Skip to main content
Glama

Transcribe Audio

beatra.audio.transcribe
Idempotent

Transcribe an audio file into timed text, speaker-labeled segments, detected audio events, and downloadable JSON, SRT, and VTT subtitle artifacts. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.

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": "<audio>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.audio.transcribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
audioYesSource audio file (`artifact_id` or HTTPS `url`; 0.5-3600.0 seconds, <= 100 MiB). Accepts `audio` or `source`.
modelNoSpeech-to-text model identifier, or 'auto' for automatic selection (defaults to `doubao-seed-asr-2.0`, or upgrades to `elevenlabs-scribe-v3` when `tag_audio_events=true` or `num_speakers` is passed).auto
diarizeNoAnnotate speaker turns in transcript segments when true.
languageNoLanguage hint (`auto` or BCP-47 tag such as `zh`, `en`, `ja-JP`).auto
subtitlesNoEmit timed subtitle artifacts (`json`, `srt`, `vtt`) alongside the transcript.
num_speakersNoOptional expected speaker count hint (1-32).
model_optionsNoOptional model-family-specific options (for example, `{"elevenlabs": {...}}` or `{"doubao": {...}}`). Unrecognized or surcharged keys emit an `option_ignored` warning.
tag_audio_eventsNoDetect non-speech audio events such as laughter, applause, or music.
client_request_idYesStable retry identity for this billable operation. Reuse only for the exact same generation arguments.

Output Schema

NameRequiredDescriptionDefault
taskNo
errorNo
usageNo
statusNo
billingNo
task_idNo
terminalNo
artifactsNo
resolved_modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the call is billable and consumes credits, that it creates an asynchronous task, and how the async lifecycle works. The 'submit exactly once' instruction also clarifies how the idempotentHint=true annotation is actually keyed, which annotations alone would not convey.

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?

Three sentences, front-loaded with the capability statement, followed by cost/lifecycle and retry constraints. Every sentence carries decision-relevant information with no filler.

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 complex billable async operation with 9 parameters and an output schema, the description covers the parts an agent cannot infer from structured fields: cost, asynchrony, submission cardinality, and polling. Return-value details are correctly omitted because an output schema exists and the parameter semantics are fully documented in the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains audio sources, model selection, diarize, language, and model_options in detail. The description only adds meaning for client_request_id (stable retry identity), which the schema itself already describes, so it does not materially extend parameter understanding.

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 (transcribe) plus the resource (audio file) and enumerates the concrete outputs: timed text, speaker-labeled segments, audio events, and JSON/SRT/VTT artifacts. That output enumeration separates it cleanly from sibling generation tools like beatra.audio.generate_sfx or beatra.audio.process without the agent needing to open 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?

Gives explicit operational guidance — 'Submit exactly once, then poll with beatra.tasks.get' — and an explicit exclusion: reuse client_request_id only for an identical retry. The alternative (beatra.tasks.get) is named, but there is no guidance on when transcription is preferred over adjacent audio tools, so it stops just short of the top band.

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