Skip to main content
Glama

video_template_preview

Preview video template operations, estimated duration, resolution, and file size before rendering. Supports TikTok, YouTube Shorts, Instagram Reel, and more.

Instructions

Preview what a video template would do before rendering.

Analyzes the template and returns a list of operations, estimated output duration, resolution, and file size — without actually processing any video.

Args: template: Template name (tiktok, youtube-shorts, instagram-reel, youtube, instagram-post). input_path: Absolute path to the input video (optional; used for duration probing). duration: Override the estimated duration in seconds. caption: Caption text for TikTok / Instagram Reel / Instagram Post templates. title: Title text for YouTube Shorts / YouTube video templates. music_path: Absolute path to background music file. outro_path: Absolute path to outro video file (YouTube template only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateYes
input_pathNo
durationNo
captionNo
titleNo
music_pathNo
outro_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries full burden. It explicitly states the tool analyzes without processing video and returns estimated output properties. This implies a read-only, non-destructive operation. It could add details on prerequisites or side effects, but current disclosure is solid.

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 well-structured with a lead sentence, explanatory paragraph, and an args list. It is front-loaded but slightly lengthy due to the parameter list; however, each line adds value. No wasted words.

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?

Given the tool has 7 parameters and an output schema, the description covers the primary behavior and parameter roles. It lacks mention of error handling, prerequisites (e.g., template existence), and details on how input_path is used when optional. Still, it is sufficiently complete for most use cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, meaning the description adds all parameter meaning. It explains each parameter's role: template with allowed values, input_path for duration probing, duration as override, caption/title for specific templates, music_path, and outro_path for YouTube only. This far exceeds the schema's empty descriptions.

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 tool's purpose: preview what a video template would do before rendering. It specifies output details (list of operations, duration, resolution, file size) and that no video processing occurs, distinguishing it from rendering tools and siblings like video_preview or hyperframes_preview.

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?

The description provides clear context for use: before rendering, to inspect expected output. It does not explicitly mention when not to use it or alternatives, but the purpose is straightforward. Siblings like hyperframes_preview exist but are not referenced.

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/KyaniteLabs/mcp-video'

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