Skip to main content
Glama

reframe

Change a video’s aspect ratio to 16:9, 9:16, 1:1, or 4:5, using pad to preserve all content or crop to fill the frame. Returns the output path.

Instructions

Re-aspect a video to a target ratio (16:9, 9:16, 1:1, 4:5). 'pad' letterboxes so nothing is lost; 'crop' fills the frame and trims the overflow. Returns the output path.

Input Schema

NameRequiredDescriptionDefault
fitNopad (default): scale to fit and letterbox, no content lost. crop: scale to fill and center-crop.
inputYesPath to the source video.
aspectYesTarget aspect ratio.
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

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the destructive-ish implication of 'crop' ('trims the overflow') and that pad loses nothing, plus that an output path is returned. It omits whether the source is modified, re-encoding/quality effects, and audio handling, leaving meaningful behavioral gaps for a mutation tool.

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?

Three short sentences, front-loaded with purpose, then the mode semantics, then the return value. No filler and nothing buried.

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 5-parameter tool with no output schema, the description covers purpose, mode behavior, and the returned output path, which is enough to call it correctly. It could say more about overwrite/replace semantics and source preservation, but the essentials are present.

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 coverage is 100% and each parameter already carries a rich description, so the baseline is 3. The description's explanation of pad/crop largely restates the 'fit' enum description and says nothing about 'output' or 'overwrite' beyond the schema.

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?

The description opens with a specific verb-plus-resource ('Re-aspect a video to a target ratio') and enumerates the supported ratios, so the operation is unambiguous. It does not distinguish itself from sibling tools like 'crop' or 'scale', which could plausibly be reached for the same goal.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It explains the pad-vs-crop trade-off ('nothing is lost' vs 'fills the frame and trims the overflow'), which is useful decision guidance for the 'fit' choice. However, it gives no guidance on when to use this tool versus siblings such as 'crop' or 'scale', and states no prerequisites beyond a required input.

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