Skip to main content
Glama

audio_convert

Convert, resample, or downmix audio files, with the output extension selecting the codec (WAV 24-bit, FLAC, MP3 V0, or M4A 256k).

Instructions

Convert/resample/downmix. Output extension picks codec (wav 24-bit, flac, mp3 V0, m4a 256k).

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>",
      "output": "<output>"
    },
    "name": "audio_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
outputYes
channelsNo
overwriteNoallow overwriting an existing output file
sample_rateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. The codec/bitrate mapping by output extension is genuinely useful, but it says nothing about overwrite behavior (the schema has a default of false but the description never mentions conflicts), whether the input is modified, or what is returned on success or failure.

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 compact fragments, front-loaded with the action and the format rule, with no filler. It is terse to the point of under-specification, but nothing is wasted.

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

Completeness2/5

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

For a five-parameter file-transformation tool with no annotations, no output schema, and low schema coverage, the description is too thin. An agent cannot determine overwrite semantics, valid extension set, or expected return without guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 20% across five parameters, so the description must compensate. 'Resample' and 'downmix' hint at sample_rate and channels, and 'output extension' hints at output, but input, overwrite, and all accepted formats/units are left undocumented in either place.

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 verb cluster 'Convert/resample/downmix' plus the codec-by-extension rule makes the operation concrete: it transforms an audio file into a new format. It does not distinguish itself from siblings like audio_probe or loudness_normalize, but the purpose itself is unambiguous.

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?

There is no statement of when to reach for this tool versus audio_probe, silence_trim, or loudness_normalize, and no preconditions such as whether the output may already exist. Usage is only inferable from the verb list.

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