Skip to main content
Glama

Change a video that's already made (preview first)

preview_video_edit

Use this whenever the user wants to change a video they already have ("same words but more serious", "change line 3", "a stronger hook", "slower voice", "other colors", "no music", "shorter"): never make a new video from an idea for that. HypeFox starts from that video and changes only what the request touches: the other lines stay word for word, with the same scenes, voice, look and music. About 15 seconds; it uses very few credits. Returns the new lines (changed ones marked), what else changes and a script_id: show it to the user, change what they want, then make_video with that script_id and the final lines (an edit uses very few credits; the original video stays). Also videos made on the user's own footage, while the footage is kept (can_be_edited in get_video; since 25 November as long as the video exists): there the voice is theirs, so the edit fixes how the captions are written, changes the on-screen texts (titles above the person, texts of the pictures), cuts lines, makes the ending longer ("the end cuts a word"), changes colors and music; the lines are the captions, all of them, and cut_lines / on_screen_texts / longer_ending say the rest. Not on videos made on the user's audio. What the user added in the app's editor (texts, stickers and photos on top, transitions, the subtitles' look) stays in the new video; adding those isn't done here: the user does it in the editor of the app. Waits up to 25 seconds; if it isn't ready yet, call get_script.

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": {
      "video_id": "<video_id>",
      "request": "<request>"
    },
    "name": "preview_video_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesWhat to change, in the user's own words
video_idYesThe ready video to change (from list_videos or the context)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond annotations (readOnlyHint=false, destructiveHint=false), the description discloses cost ("very few credits"), duration (~15 seconds), that the original video stays intact, that only the requested parts change while other lines/scenes/voice/music persist, and the 25-second wait followed by get_script if not ready. The preview-only nature explains why destructiveHint=false despite readOnlyHint=false. Minor gap: it never states permissions or failure modes beyond the timeout case.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key rule is front-loaded, but the body is a dense wall of nested parentheticals that is hard to parse, and the credit cost is stated twice ("it uses very few credits" and "an edit uses very few credits"). Information density is high but structure and repetition cost it.

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 two-parameter tool with no output schema, it covers returns (newly changed lines marked, other changes, script_id), timing, cost, and what happens to the original. The only looseness is the unexplained reference to cut_lines / on_screen_texts / longer_ending, which leaves the agent unsure whether these are input fields, returned fields, or concepts belonging to another call.

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 baseline is 3, but the description adds real meaning: 'request' is the user's own words about what to change (with quoted examples), and 'video_id' must be a *ready* video. It also introduces edit-related concepts (cut_lines, on_screen_texts, longer_ending) that aren't parameters of this tool, which adds context but slightly muddies what belongs to the argument surface.

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 states a specific verb and resource – previewing a change to an existing video – and explicitly separates it from sibling 'make_video' ("never make a new video from an idea for that"). The opening parenthetical quotes of user phrasings ("same words but more serious", "change line 3") make the scope unmistakable.

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?

It gives an explicit trigger condition ("whenever the user wants to change a video they already have"), an explicit exclusion with the alternative named (make a new video instead), and negative scope (not on videos made on the user's audio; editor additions aren't done here). It goes further by spelling out the follow-up flow: show the returned script to the user, then call make_video with script_id.

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