Skip to main content
Glama

Edit the video

editor_edit
Destructive

Polish the video in the editor; changes show in the next export.

scene_note: edit one scene with a note (move, restyle, add or remove layers and overlays, change the text of a lower third, title card or callout, change motion); spends credits. Returns the changes and skipped_mutations: edits that didn't land (applied=false) or landed differently than asked (applied=true), each with a reason; check them. Scene lengths follow the narration; the image, clip and voiceover layers can't be removed. project_note: a note for the whole video, applied to up to 10 scenes per call; spends credits. captions: merge caption settings. add_sfx: attach a sound effect to a segment. add_music / update_music: background music timed in seconds; a track's duration follows from its trim.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loopNoLoop the music under the whole video
nameNoThe music track's name
actionYesscene_note: segment_number, message; project_note: message; captions: caption_config; add_sfx: segment_number, library_track_id; add_music: library_track_id, optional name, volume, loop, start_seconds; update_music: track_id and any of name, volume, loop, start_seconds, trim_start_seconds, trim_end_seconds
volumeNoMusic volume 0-1; the 0.12 default sits under the narration, so raise it only if asked
messageNoThe note in plain words, e.g. "move the caption to the top"
track_idNoupdate_music: a track id from editor_read action=music
project_idNoProject id
start_secondsNoWhere the music starts in the video, in seconds
caption_configNocaptions: keys to merge into the caption settings (get_status shows them)
segment_numberNoSegment number (1-based, from storyboard_read)
library_track_idNoA track id from editor_read action=audio_library
trim_end_secondsNoupdate_music: where playback stops within the track, in seconds
trim_start_secondsNoupdate_music: where playback starts within the track, in seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (destructive/not idempotent), the description adds substantial behavioral context: edits spend credits, returns include a skipped_mutations list with applied/reason that the agent is told to check, project_note affects up to 10 scenes per call, scene lengths follow narration, and image/clip/voiceover layers cannot be removed. This is exactly the surplus detail the annotations cannot convey.

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 one-line purpose is front-loaded before the dense action breakdown, and every clause carries information (credits, return shape, layer constraints). It is a single semicolon-heavy block rather than cleanly separated sections, which slightly hurts scanability but there is little 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 13-parameter, destructive, credit-spending tool with no output schema, the description covers the key gaps: credit cost, the skipped_mutations return and its semantics, per-action limits, and layer constraints. It omits auth/permission requirements and the return shape beyond skipped_mutations, so it is strong but not exhaustive.

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 description coverage is 100%, so the baseline is 3, but the description adds meaning not fully in the schema: captions act as a merge, music is timed in seconds and a track's duration follows from its trim, and the action-level parameter groupings mirror the enum. That extra semantic framing lifts it above baseline.

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?

The description states a specific resource (the video in the editor) and enumerates the six distinct actions it can perform (scene_note, project_note, captions, add_sfx, add_music, update_music), so an agent can tell the scope apart from a read tool. The opening 'Polish the video' is generic, and it never explicitly names sibling tools like editor_read as the reading counterpart, so it stops short of a 5.

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?

Each action is tied to a clear condition: scene_note for one scene, project_note for the whole video (10 scenes per call), captions to merge settings, add_sfx to attach a sound effect, add/update_music for background music. However it gives no explicit 'when not to use this' exclusion or direct routing to editor_read/segment_edit alternatives.

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