Skip to main content
Glama

convert

Converts a video between mp4, gif, and webm using H.264, VP9, or a palette filter, then returns the output path. Use it to change recording formats for sharing or embedding.

Instructions

Convert a video between mp4, gif, and webm. mp4 uses H.264, webm uses VP9, and gif uses a palette filter for quality. Returns the output path.

Input Schema

NameRequiredDescriptionDefault
fpsNoOutput fps (gif only; default 12).
inputYesPath to the source media.
widthNoOutput width in px, height auto (gif only; default 720).
formatYesTarget format. Converts mp4 <-> gif/webm (H.264 / VP9 / palette gif).
outputNoOptional output path. Defaults under SCREENCAST_HOME/edits.
overwriteNoAllow replacing an existing file at the output path (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.32.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden; it does disclose codec choices (H.264, VP9, palette filter) and that the return value is an output path, which is real added value. It omits the mutation profile — no mention of file overwrite semantics (only in schema), whether a new file is always created, whether SCREENCAST_HOME/edits is created, or how long a transcode might take.

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?

Two sentences, both front-loaded with the actionable information: what it does and what it returns. Nothing is wasted and no filler adjectives are present.

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?

With full schema coverage and an explicit return-value sentence, an agent has what it needs to call this correctly. The gap is routing context — given seven-plus sibling tools that also produce output files, the description should have stated the selection rule, but that is a usage gap rather than a missing operational fact.

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 all six parameters already carry documentation, including defaults, ranges, and the gif-only constraint on fps/width. The description adds only codec background that the format enum description also restates, so baseline 3 is appropriate.

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?

States a specific verb and resource ('Convert a video') plus the exact format set (mp4, gif, webm), which is concrete enough to act on. It does not differentiate itself from overlapping siblings such as export_gif or export_preset, which also produce gif/formatted output, so an agent must infer the boundary.

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?

The description never says when to choose this over export_gif, export_preset, or compress, all of which sit in the same sibling list. No prerequisites, no exclusions, no mention that gif-only parameters (fps, width) are ignored for mp4/webm in this text.

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