Skip to main content
Glama

Resize video

resize_video

Resize a video by setting width and height in pixels, or use a percentage scale. When only one dimension is given, the other adjusts to preserve the aspect ratio.

Instructions

Scale a video to a new resolution. Give width and/or height in pixels (the missing one keeps aspect ratio), or a scale percentage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthNoTarget width in pixels
heightNoTarget height in pixels
percentNoScale by percentage instead (e.g. 50 = half size)
input_pathYesPath to the source video
output_pathNoWhere to write the result
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 discloses key behavior (aspect ratio preservation when one dimension is omitted, percentage scaling), but does not address edge cases such as mutual exclusivity of percent vs dimensions, what happens if neither is given, or the optionality of output_path.

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?

A single, well-structured sentence conveys the core functionality and key usage constraints. Every word earns its place with no redundant filler.

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 simple resizing tool with a schema that explains all parameters, the description is largely complete. It does not elaborate on output behavior or format support, but these are inferable and not critical for this operation.

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?

Schema coverage is 100%, providing a baseline of 3. The description adds value by clarifying the relationship between width/height ('missing one keeps aspect ratio') and offering a percentage alternative, which is not fully explicit in 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 clearly states the action ('Scale a video') and the resource ('video'), specifying the outcome ('new resolution'). It distinguishes itself from sibling tools like crop_video or compress_video by focusing on resolution scaling.

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?

There is no explicit guidance on when to use this tool over alternatives like crop_video or compress_video. The description only explains how to provide dimensions, not the situational context or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gulkoa/vidshaper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server