Skip to main content
Glama

Convert Media Tool

convert_media

Convert an already-uploaded file (a video hashid from create_upload or list_videos) to another format (to): a video container (mp4, webm, mov, mkv), an animated gif, or audio (mp3, aac, wav, flac). This is FREE and only needs an account, no subscription.

To use a local file: call create_upload, PUT the bytes to the returned upload_url, then pass that video id here as file. Do NOT call complete_upload (that starts the paid clip pipeline); this free tool reads the uploaded file directly.

For to: gif you may set fps (default 12) and width (default 480).

Processing is ASYNCHRONOUS: this returns a tool_job hashid and status: "queued". Poll get_tool_job_status with that tool_job until it reports completed, then it returns the downloadable output URL. Free usage is rate-limited per day with per-file size and duration caps; a clear error explains how to lift a limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget format: mp4, webm, mov, mkv, gif, mp3, aac, wav or flac.
fpsNogif only: frames per second (default 12).
fileYesThe uploaded video id (hashid) from create_upload (no complete_upload needed) or list_videos.
widthNogif only: output width in pixels (default 480).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as non-read-only, non-destructive, and closed-world, but the description adds substantial operational context: the operation is free and needs no subscription, returns a queued tool_job asynchronously, requires polling get_tool_job_status, and is rate-limited daily with per-file size and duration caps. It also explicitly separates this free path from the paid complete_upload clip pipeline.

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 front-loaded with purpose and format list, then gives the local-file workflow, gif options, and asynchronous behavior in a logical sequence. Each section earns its place by covering cost, prerequisites, polling, and limits for a multi-step conversion tool.

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

Completeness5/5

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

With no output schema, the description carries the full return-value burden and does so by explaining the tool_job hashid, queued status, polling requirement, and final downloadable URL. It also covers free-tier rate limits and error behavior, making the definition complete for correct invocation.

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 the baseline is 3. The description clarifies file provenance and gif-only fps/width behavior, but the schema already documents required fields, format options, and gif defaults, so the description adds little parameter-specific meaning beyond the schema.

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 states a specific verb and resource: convert an uploaded file to another format, enumerating video, gif, and audio targets. It explicitly distinguishes this from create_upload and complete_upload, so an agent can identify when this tool applies 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 Guidelines5/5

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

It gives explicit workflow guidance for local files, including create_upload, PUT to upload_url, then this tool, and warns 'Do NOT call complete_upload' because that starts the paid clip pipeline. It also names get_tool_job_status as the required polling tool for asynchronous completion.

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.

Resources