Skip to main content
Glama

extract_audio

Extract the audio track from a video file and save it as MP3, AAC, WAV, FLAC, or OGG.

Instructions

Extract audio track from video file. Supports MP3, AAC, WAV, FLAC, OGG output formats.

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": {
      "input": "<input>"
    },
    "name": "extract_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesInput video file path
formatNoOutput audio formatmp3
outputNoOutput audio file path (default: input_audio.mp3)
bitrateNoAudio bitrate (e.g., 128k, 192k, 320k)192k

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about overwrite behavior for the defaulted output path, failure modes for videos without audio tracks, or processing cost. The only added detail, the list of output formats, merely restates the schema enum.

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?

Two short sentences, with the core operation front-loaded and nothing extraneous. The second sentence partially duplicates the schema enum, which keeps it just short of a 5.

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?

For a simple extraction tool with full schema coverage and no output schema, the description is minimally adequate. It omits the default output naming and overwrite semantics, which an agent would want to know before invoking a file-writing operation.

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 all four parameters, including defaults for format, output, and bitrate, are already documented in the schema. The description adds no syntax or format nuance beyond repeating the supported formats, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Extract audio track from video file'), making the operation immediately distinguishable from siblings like add_audio, merge, or convert. It does not explicitly name an alternative tool, but the verb itself carries the differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance on when to use this versus alternatives such as add_audio or convert, and no stated preconditions (e.g., input file must exist and contain an audio stream). Usage is only implied by the tool name and description.

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