Skip to main content
Glama

video_edit

Edit videos using JSON specifications to combine clips, audio, text, and transitions in a single operation.

Instructions

Execute a full timeline-based edit from a JSON specification.

The timeline JSON describes video clips, audio tracks, text overlays, transitions, and export settings in a single operation.

Example timeline: { "width": 1080, "height": 1920, "tracks": [ { "type": "video", "clips": [ {"source": "intro.mp4", "start": 0, "duration": 5}, {"source": "main.mp4", "start": 5, "trim_start": 10, "duration": 30} ], "transitions": [{"after_clip": 0, "type": "fade", "duration": 1.0}] }, { "type": "audio", "clips": [{"source": "music.mp3", "start": 0, "volume": 0.7}] }, { "type": "text", "elements": [{"text": "EPISODE 42", "start": 0, "duration": 3, "position": "top-center"}] } ], "export": {"format": "mp4", "quality": "high"} }

Args: timeline: JSON object describing the full edit timeline. output_path: Where to save the final video. Auto-generated if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timelineYes
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/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 describes the tool's function but lacks critical behavioral details such as required permissions, rate limits, error handling, or whether the operation is destructive (e.g., overwrites files). The example helps but doesn't cover behavioral traits adequately for a complex tool.

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 appropriately sized and front-loaded, starting with the core purpose. The example timeline is detailed but necessary for understanding. It could be slightly more concise by integrating the example more tightly, but overall it's well-structured with minimal waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (2 parameters with nested objects) and no annotations, the description is moderately complete. It explains parameters well and includes an output schema (implied by context signals), so return values needn't be detailed. However, it lacks behavioral context like error handling or prerequisites, leaving gaps for a mutation tool.

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 description coverage is 0%, so the description must compensate. It provides detailed semantics for both parameters: 'timeline' is explained with a comprehensive JSON example showing structure and usage, and 'output_path' is clarified as optional with auto-generation if omitted. This adds significant meaning beyond the bare 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 tool executes a full timeline-based edit from a JSON specification, specifying it handles video clips, audio tracks, text overlays, transitions, and export settings. This distinguishes it from sibling tools like video_merge or video_add_text by emphasizing comprehensive, single-operation editing rather than piecemeal functions.

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 implies usage for complex, multi-track video edits with JSON specifications, but does not explicitly state when to use this tool versus alternatives like video_merge or video_add_text. It provides clear context for comprehensive edits but lacks explicit exclusions or named alternatives.

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

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