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.8/5.0
Behavior5/5

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

Annotations are empty, so the description carries the full burden. It discloses that the operation is asynchronous, returns a `tool_job` id and `queued` status, requires polling, is free with size/duration limits, and that calling `complete_upload` would incorrectly trigger the paid pipeline. This goes well beyond the bare schema.

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?

The description is longer than average, but each paragraph earns its place: core conversion purpose, upload workflow and exclusion of `complete_upload`, gif-only parameters, and async polling behavior. It is organized and free of fluff, though it could be tightened slightly.

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?

Even with no output schema and no annotations, the description fully equips the agent: it explains where `file` comes from, that `complete_upload` must NOT be called, how to obtain gif-specific parameters, the async polling flow with `get_tool_job_status`, and rate-limit behavior. Nothing critical is missing for a correct 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?

The schema already documents all four parameters with 100% coverage, so the baseline is 3. The description adds valuable context beyond the schema: `file` must be an uploaded video id from `create_upload` or `list_videos`, `complete_upload` must not be called, and `fps`/`width` apply only to gif output. This is useful, though the schema already covered the core meanings.

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 object: converting an uploaded video file into a target format. It enumerates supported formatsretically and distinguishes this from upload and paid pipelines by naming `complete_upload` as something to avoid, which helps disambiguate from sibling tools like `edit_video` and `extract_thumbnails`.

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 explicitly tells the agent how to supply input: use the hashid from `create_upload` or `list_videos`, do not call `complete_upload`, and provides the exact upload workflow (`PUT` bytes to the returned URL before calling this tool). It also directs the agent to poll `get_tool_job_status` for the result, so follow-up behavior is unambiguous.

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