Skip to main content
Glama

Convert video or audio

convert_media

Convert any video or audio file to another format, with optional trimming and downscaling. Video outputs: mp4, mov, mkv, webm, gif. Audio outputs: mp3, wav, flac, aac, m4a, ogg, opus. Cost: 1 credit per minute of output. Long jobs return a job_id; poll it with get_job. Result links expire in 1 hour.

Input Schema

NameRequiredDescriptionDefault
urlYesSource file: public http(s) link
formatYesOutput format
qualityNoQuality. Lower quality gives smaller filesmedium
max_heightNoShrink video to at most this height, e.g. 720
start_secondsNoStart time in seconds
duration_secondsNoLength of the result in seconds
audio_bitrate_kbpsNoAudio bitrate in kbps

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?

With no annotations, the description carries the full behavioral burden and does well: it discloses cost (1 credit per minute of output), async behavior (long jobs return a job_id, poll with get_job), and result expiry (links expire in 1 hour). It omits permission/auth requirements and any input size or duration limits, which are the remaining gaps.

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?

Four compact sentences, front-loaded with the core action and format list, followed by cost and async/expiry mechanics. Every sentence carries information an agent needs; nothing is redundant with the title.

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 7-parameter tool with no output schema, the description covers the important call-time mechanics (async job_id, polling tool, expiring links) and the format domain. It could go slightly further on what the immediate response contains versus the polled result, but nothing essential is missing.

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 description coverage is 100%, so the baseline is 3, but the description adds real value beyond the schema by grouping the flat format enum into video outputs and audio outputs and by framing trimming/downscaling as the intent behind the timing and height parameters.

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+resource (convert video or audio files between formats) and enumerates the exact output formats, which lets an agent distinguish it from siblings like compress_media, extract_audio, and trim_media without opening the schema.

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?

Clearly signals the scope of the operation ('convert to another format, with optional trimming and downscaling') and tells the agent what to do for long jobs (poll with get_job). It never explicitly names when to prefer a sibling such as extract_audio or compress_media instead, so routing is left partly to inference.

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.