Skip to main content
Glama

video_edit

Destructive

Edit videos on this Mac into a new file: cut and join clips, change speed, reframe to vertical (9:16) or other shapes, add titles, captions or subtitles (burned in) and a logo, put music under it, fade and crossfade, or export audio only (.m4a) or a GIF. Clips play in order; each uses start/end seconds from its own file. texts and captions use times on the finished video. Output never overwrites an existing file unless overwrite is true. Runs in the background: it waits up to waitMs, then returns a jobId to poll with video_status. Use video_frames on the result to check it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "clips": "<clips>",
      "output": "<output>"
    },
    "name": "video_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipsYes
musicNo
textsNoTitles and labels; default position top
fadeInNo
imagesNo
outputYes
waitMsNo
fadeOutNo
captionsNo
deviceIdNoComputer name or id
crossfadeNoSeconds of overlap between clips
captionStyleNo
captionsFileNo.srt file to burn in as captions
workSessionIdNoFrom create_work_session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • removedInput schema / properties / captionStyle / properties / backgroundColor / maxLength
      Removed value: -9
    • removedInput schema / properties / captionStyle / properties / color / maxLength
      Removed value: -9
    • removedInput schema / properties / captions / items / properties / text / maxLength
      Removed value: -300
    • removedInput schema / properties / captions / items / properties / text / minLength
      Removed value: -1
    • removedInput schema / properties / captions / maxItems
      Removed value: -2000
    • removedInput schema / properties / clips / maxItems
      Removed value: -50
    • removedInput schema / properties / clips / minItems
      Removed value: -1
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id; optional with one computer or a default"New value: +"Computer name or id"
    • removedInput schema / properties / images / maxItems
      Removed value: -10
    • removedInput schema / properties / texts / items / properties / backgroundColor / maxLength
      Removed value: -9
    • removedInput schema / properties / texts / items / properties / color / maxLength
      Removed value: -9
    • removedInput schema / properties / texts / items / properties / text / maxLength
      Removed value: -500
    • removedInput schema / properties / texts / items / properties / text / minLength
      Removed value: -1
    • removedInput schema / properties / texts / maxItems
      Removed value: -50
  2. Changed2 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id from list_devices. Optional with one computer online or a default set."New value: +"Computer name or id; optional with one computer or a default"
    • changedInput schema / properties / workSessionId / description
      Previous value: -"Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work."New value: +"From create_work_session"
  3. Changed1 schema field changed
    • addedInput schema / properties / workSessionId
      Added value: +{
      +  "description": "Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=false, so the safety bar is lowered. The description still adds real context the annotations cannot convey — output never overwrites an existing file unless overwrite is true, and execution is asynchronous with a waitMs budget returning a jobId — but it omits which parameters cause destruction, what happens on partial failure, and how long finished files persist.

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?

Front-loaded with the verb and capability list, then the ordering/time semantics, then the async job model and overwrite rule — the important constraints come early. The capability enumeration is long, but for a multi-feature editor each item distinguishes a real usage path, so little of it is padding.

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?

For a 14-parameter nested mutation tool with no output schema, the description covers the async contract, overwrite behavior, and timeline semantics, which are the highest-risk gaps. It does not explain the deviceId/workSessionId targeting model (which Mac the edit runs on, and whether a session is required) or what a jobId failure looks like, leaving meaningful operational ambiguity.

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?

With only 36% schema coverage across 14 parameters, the description carries real weight, and it delivers the single most error-prone distinction: clip start/end are seconds within each source file, while texts and captions use times on the finished video, and clips play in order. That directly explains clips, texts, and captions semantics. It leaves many parameters (captionsFile, captionStyle, images, music, deviceId, workSessionId, aspect/resolution defaults) to 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 opens with a specific verb and resource ("Edit videos on this Mac into a new file") and then enumerates the concrete capabilities: cut/join, speed, reframe to 9:16, titles, captions, logo, music, crossfade, audio-only or GIF export. It is unmistakably a video composition tool and cannot be confused with video_frames, video_status, or the edit_docx/edit_spreadsheet siblings.

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?

It names the downstream alternatives explicitly and states their purpose: poll the returned jobId with video_status, and use video_frames on the result to check it. It also gives the overwrite rule. What it lacks is any "when not to use" guidance — e.g. whether plain trimming should go elsewhere or when a workSessionId is warranted — so the routing is clear but not fully bounded.

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.

Resources