Skip to main content
Glama

transcribe_file

Transcribe local audio and video files into text using Whisper. Supports MP3, MP4, WAV, and other FFmpeg-compatible formats; use async mode for files over 30 minutes.

Instructions

Transcribe a local audio/video file using Whisper.

Supports mp3, m4a, mp4, wav, flac, and other FFmpeg-compatible formats. For files over 30 minutes, use async_mode=true. Adjust segment_minutes for 1h+ files to reduce segment count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoWhisper model: tiny, base, small, medium, large-v3-turbolarge-v3-turbo
languageNoLanguage code: zh, en, ja, etc.zh
file_pathYesPath to local audio/video file
async_modeNoIf true, return task_id for long files
segment_minutesNoAudio segment length in minutes for splitting long files. Default 30. Increase for 1h+ files.
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It discloses supported formats, Whisper as the underlying model, and the behavior for long files (async, segment splitting). It does not mention output structure or side effects, but the key operational traits are covered and there is no contradiction with annotations.

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?

The description is three sentences, front-loaded with the core purpose, followed by format support and targeted usage advice. Every sentence contributes directly to effective tool usage, with no redundant or repetitive content.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 5 parameters, no output schema, and no annotations, so the description should clarify return values or outcomes. It explains local-file handling and long-file guidance well, but it does not state what the tool returns (e.g., transcript text, task_id for async), which is a gap given the absence of an output schema.

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?

The schema description coverage is 100%, providing baseline 3. The description adds value by explaining when to use async_mode and how to adjust segment_minutes for 1h+ files, supplementing the schema's parameter descriptions beyond just listing defaults.

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 clearly states the tool transcribes local audio/video files using Whisper, with a specific verb (transcribe) and resource (local file). It also lists supported formats and distinguishes itself from sibling transcribe_url by emphasizing 'local' file input.

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?

The description gives clear context for when to use this tool (local files, with format support) and provides concrete guidance for long files (use async_mode, adjust segment_minutes). However, it does not explicitly state when not to use it or mention the sibling transcribe_url for remote files, so it lacks explicit alternative naming.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shawnwei512/video-transcript-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server