Skip to main content
Glama

edit_video

Make a new version of a video in a video surface. Combine any of: remove to take ranges OUT and keep everything else ("cut that bit", "lose the radio shot": find the exact start and end with watch_video first); keep to keep ONLY one span and drop the rest ("just give me 0:10 to 0:20"); format mp4, mov or webm; width/height to resize (give one to keep the shape); aspect to center-crop to 16:9, 9:16, 1:1, 4:5, 4:3 or 3:4; fps; speed 0.25 to 4; mute. All times are in the ORIGINAL video's timeline. The reply's summary says in words what was done ("Original 0:30.08, result 0:28.38: removed 0:16 to 0:17.70"): check it against the request. The result is added to the surface as a new video (labelled " (edited)" unless you pass label), or replaces the original with replace: true. Results run up to 10 minutes and 1920px. Watch the result with watch_video before telling anyone it's done. Editor role required. Emits video.updated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fpsNoOutput frame rate, 1 to 60.
keepNoThe ONLY span to keep; everything outside it is dropped.
muteNoDrop the sound.
slugYesThe workspace slug. Accepts bare or org-prefixed form.
labelNoLabel for the result. Max 60 chars.
speedNoPlayback speed, 0.25 to 4. Sound keeps its pitch.
widthNoOutput width in px (16 to 1920).
aspectNoCenter-crop to this shape.
formatNoOutput container. Defaults to the original's.
heightNoOutput height in px (16 to 1920).
removeNoRanges to take OUT; everything else stays. Up to 20, no overlaps.
replaceNoReplace the original video instead of adding a new one. Default false.
video_idNoThe video's id, from list_videos. Optional when the surface holds a single video.
surface_slugNoOptional video surface slug. Omit for the first video surface.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full load and does so: auth requirement (Editor role), side effects (result added as a new video labelled '<label> (edited)' or replaces the original with replace:true), a domain event (video.updated), hard limits (10 minutes, 1920px), and the timeline convention (all times in the ORIGINAL video's timeline).

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?

Although dense, the purpose is front-loaded in the first sentence and every subsequent clause adds operational value: parameter semantics with worked examples, timeline convention, result naming, limits, and the verification step. No sentence is filler.

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

Completeness5/5

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

For a 14-parameter, no-output-schema mutation tool this is complete: it explains what each mode does, what happens to the output artifact, what the reply's summary contains, the permission required, and the operational limits. Nothing an agent needs to invoke it correctly is missing.

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%, so the baseline is 3 and the schema already documents all 14 parameters. The description still adds real meaning beyond the schema: interval semantics ('take ranges OUT and keep everything else' vs 'keep ONLY one span and drop the rest'), 'give one to keep the shape' for width/height, and the fallback behavior implied by passing or omitting label.

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 ('Make a new version of a video in a video surface') and enumerates the operations it supports (remove, keep, format, resize, aspect, fps, speed, mute). It distinguishes itself from watch_video by assigning that tool the time-finding role, but it never explicitly contrasts with the similarly named siblings update_video or add_video, so routing against those is left to inference.

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

Usage Guidelines5/5

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

Gives explicit when/when-not and alternatives: use watch_video first to find exact start/end, use keep when you want only one span, use remove when you want to cut ranges out, and check the returned summary against the request. It also closes the loop with 'Watch the result with watch_video before telling anyone it's done.'

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.