Skip to main content
Glama

transcribe_audio

Convert audio files to text with automatic chunking for long recordings. Supports mp3, wav, m4a, flac, ogg, webm.

Instructions

Transcribe an audio file to text using AutoGLM ASR.

Supports: mp3, wav, m4a, flac, ogg, webm

Features:

  • Automatic chunking for long audio (>30s)

  • Sliding window concurrency for speed + quality

  • Context passing between chunks for better accuracy

Args: audio_path: Absolute path to the audio file context_mode: "sliding" (recommended), "none" (fastest), or "full_serial" (best quality but slow) max_concurrency: Max parallel API requests (default: 5)

Returns: Full transcription text with timing segments

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
audio_pathYesAbsolute path to the audio file to transcribe
context_modeNoContext strategy: 'sliding' (balanced), 'none' (fastest), 'full_serial' (best quality)sliding
max_concurrencyNoMaximum number of concurrent API requests
Behavior5/5

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

With no annotations provided, the description carries the full burden. It fully discloses key behaviors: automatic chunking for long audio, sliding window concurrency, context passing, and return of timing segments. No contradictions 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 well-structured with a one-sentence purpose, a support list, feature bullets, Args, and Returns. Every sentence adds value, and it is easy to scan. No fluff.

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?

For a moderately complex tool with no output schema, the description covers supported formats, behavior for long audio, parameter modes, concurrency limits, and the return type. It could add more detail on the structure of timing segments or error handling, but it is complete enough for tool selection and invocation.

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. The description adds value beyond the schema by explaining trade-offs and recommendations for context_mode (e.g., 'sliding' recommended, 'full_serial' best quality but slow) and clarifying the purpose of max_concurrency. This enhances semantic 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?

The description opens with a specific verb and resource: 'Transcribe an audio file to text using AutoGLM ASR.' It clearly distinguishes from sibling tool get_audio_info by focusing on transcription rather than audio metadata.

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 provides clear context for when to use this tool (any transcription need) and gives detailed parameter guidance (e.g., recommended context_mode). It doesn't explicitly mention alternatives or when not to use the tool, but the sibling tool is obviously different, so the context is sufficient.

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/Starrylyn/autoglm-asr-mcp'

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