Skip to main content
Glama

Transcribe video/audio to SRT

transcribe_media

Speech-to-text for an uploaded video or audio file: returns timestamped SRT (the timeline to rewrite, translate or re-voice with srt_to_speech). Credits are charged per second of media, measured by the server. Use language = the spoken language code from list_languages.

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": {
      "media_url": "<media_url>",
      "language": "<language>"
    },
    "name": "transcribe_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageYesSpoken language code, e.g. vi, en, ja.
media_urlYespublic_url from create_upload_url (or a ttsforfree CDN link).
wait_secondsNoSeconds the server waits for the audio before returning. If the job is still PENDING, call get_job_status later with the returned job_id.
multi_speakerNoSeveral people talk (drama, interview, podcast): the whole file is sent at once for speaker detection, and each SRT cue starts with [Speaker N] (same N = same person across the whole file).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / multi_speaker
      Added value: +{
      +  "default": false,
      +  "description": "Several people talk (drama, interview, podcast): the whole file is sent at once for speaker detection, and each SRT cue starts with [Speaker N] (same N = same person across the whole file).",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare the safe-mutation profile (readOnly=false, destructive=false, not idempotent), so the description adds real value by disclosing cost behavior: credits are charged per second of media and measured server-side. It also discloses the SRT output shape, though it omits failure/error behavior and does not restate the async job pattern that lives in the schema.

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 short sentences, front-loaded with what the tool produces, then downstream use, then cost, then the one parameter hint. No filler or redundant restatement of the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 correctly explains the return value as timestamped SRT and covers billing, which an agent needs before invoking. The polling path for pending jobs is documented in the wait_seconds schema rather than the description, so nothing critical is missing.

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 baseline is 3, but the description adds genuine meaning by tying language to the spoken-language codes from list_languages rather than leaving it as a free string. It says nothing extra about wait_seconds or multi_speaker, which the schema already documents thoroughly.

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 an uploaded video or audio file) and names the concrete artifact returned (timestamped SRT). It also distinguishes itself from the downstream sibling srt_to_speech, so an agent can place it in a workflow without opening any 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 clear routing guidance: use srt_to_speech for rewriting/translating/re-voicing the timeline, and use list_languages to obtain the language code. It stops short of explicit exclusions (e.g., when to use get_transcription instead, or how to handle an already-uploaded file), but the positive context is strong.

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