Skip to main content
Glama

Transcribe audio or video

transcribe_media

Read the words spoken in a video or audio file, with the second each line starts and ends. Use it to find the moments worth keeping in a clip (then pass those seconds to combine_clips as trim_start and trim_end), to check what a generated clip actually says, or to quote a recording. Point at the source with job_id or media_url. Costs about 1 credit per minute of sound, once per file: a second call for the same file and language reuses that transcript at no cost. combine_clips captions need no transcript from you: it reads the words itself.

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_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNojob_id of a finished video or audio generation, a render job_id (render:..., what combine_clips and render_motion_graphics return), a media_id from add_media, or the job_id of a transcription this tool started. Pass this or media_url.
languageNoOptional ISO 639-1 code of the spoken language, e.g. en or es. Omit to detect it.
media_urlNoDirect https link to an audio or video file (.mp3, .wav, .m4a, .mp4, .mov, .webm), or a masonry:// reference.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing cost (~1 credit per minute of sound) and caching behavior (a repeat call for the same file and language is free). It does not explain rate limits, failure modes on unsupported or inaccessible URLs, or how long a long file may take, but the billing and reuse disclosure is the highest-value information for an agent.

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-loads the core purpose and result format, then layers usage, source selection, and cost in a logical order with no filler. The long parenthetical about trim_start/trim_end is dense but earns its place as the primary workflow it enables.

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 still conveys the return shape (per-line start/end seconds), and it covers cost, reuse behavior, source options, and the sibling boundary. For a three-parameter read tool with annotations, nothing an agent needs to call it correctly is missing.

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 coverage is 100% and the schema already explains job_id variants, language detection, and accepted media_url formats in detail. The description adds only "Point at the source with job_id or media_url," which restates the schema's own 'pass this or media_url' note rather than adding new meaning.

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 (read the words spoken in a video or audio file) plus the shape of the result (each line's start and end second). It also distinguishes itself from combine_clips, whose captions read their own words, so an agent can tell the two apart 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives three concrete use cases (finding trim points, verifying a generated clip's dialogue, quoting a recording) and an explicit when-not: no transcript is needed for combine_clips captions. The chaining instruction to pass seconds to combine_clips as trim_start/trim_end is directly actionable.

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