Skip to main content
Glama

WMV to MP4 API - convert Windows Media Video (.wmv/.asf) to universal H.264 MP4

wmv_to_mp4
Read-onlyIdempotent

Convert a WMV or ASF video (WMV1/2/3, VC-1, WMA; base64, max 15 MB) into a universal H.264/AAC MP4 with +faststart for Mac, iPhone, Android and web playback. Uses instant lossless remux when already H.264, otherwise transcodes with configurable CRF quality (19/23/28), optional resolution downscale (1080p/720p/480p), AAC audio or mute, yadif deinterlacing and metadata stripping. Deterministic local ffmpeg, 0 AI, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.004/call via x402 at https://radarbg.com/x402/wmv-to-mp4.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "audio": "160",
      "quality": "23",
      "resolution": "keep",
      "stripMetadata": true
    },
    "name": "wmv_to_mp4"
  }
}

Input Schema

NameRequiredDescriptionDefault
audioNoAAC audio bitrate (160/128 kbps) or mute160
qualityNoH.264 CRF quality: 19 (high), 23 (balanced), 28 (small)23
fileNameNoOptional filename, e.g. clip.wmv
resolutionNoOptional max output height (never upscales)keep
deinterlaceNoApply yadif deinterlacing for interlaced camcorder/VHS WMV files
fileContentNoBase64-encoded .wmv or .asf video (max 15 MB; empty = built-in sample WMV2/WMAV2 video)
stripMetadataNoStrip container metadata tags

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/idempotent; the description adds genuinely non-inferable behavior: hard 15 MB input cap, deterministic local ffmpeg with no AI and no storage, yadif deinterlacing and metadata stripping effects, plus rate limits (5 calls/day per IP) and both paid access paths with pricing. That is exactly the context annotations cannot carry.

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 core purpose is front-loaded in the first clause and every sentence carries usable information. It is a dense single paragraph, though, and the trailing pricing/URL sentence is long enough to slow scanning for an agent that just needs the input constraints.

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?

All 7 params are optional and fully documented in-schema, and the description covers input limits, processing mode, and cost model. The one real gap is the response shape: with no output schema, it never says whether the MP4 comes back inline as base64, as a URL, or as a job handle.

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 every parameter including enums is already documented; the baseline is 3. The description restates the CRF tiers and resolution options and adds only the 'never upscales' / remux-preference nuance, without explaining fileName or the empty-fileContent sample behavior beyond what the schema says.

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 input (WMV/ASF with named codecs WMV1/2/3, VC-1, WMA) and a specific output (H.264/AAC MP4 with +faststart), plus the remux-vs-transcode branch. An agent can distinguish this from avi_to_mp4 purely on accepted input format without opening either 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?

Establishes clearly when this tool applies: the input must be .wmv/.asf and under 15 MB, and it notes the lossless-remux path when the source is already H.264. It does not state exclusions or explicitly route AVI/other containers to a sibling, so it stops short of full alternative guidance.

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