Skip to main content
Glama

Cut a moment into a vertical 9:16 MP4 clip for TikTok, Shorts and Reels

cut_clip

Cuts a window of a Twitch or Kick stream (a VOD, or a live stream so far) into a finished 1080x1920 MP4 and returns a download link, without opening the web editor. Follows find_clip_moments: the same source and a moment's t_start_s and t_end_s (5 to 60 seconds). Layouts: fit (full frame over a blurred fill, the safe default), split (facecam on top, gameplay below; facecam names the corner it is in), crop (centre crop). Optional hook text is burned in at the top. Captions of the streamer's speech are burned in by default, in the editor's Bold look at the bottom: the speech is read on the heistclips server with open-source Whisper (English, German, French, Portuguese, Spanish, Italian, Dutch, Polish and Turkish; the language is detected), and no outside AI service sees the clip. captions false leaves them off; caption_look and caption_position change their style. A clip that comes back without captions (no speech, another language, the day's server limit, or a slow read) still comes back, with captions_reason saying why and an add_captions link that opens it in the editor, where the speech is read on the person's own device. Each cut uses one clip credit, the same as a render on the site: a new account gets free clips, then packs. The first call returns an account code; passed back as account on later cut_clip and post_clip calls, it carries credits and connected YouTube/TikTok accounts over. Usually done in 10 to 40 seconds. It never hangs: if the file is not ready after about 45 seconds the result has status 'cutting' and a job code instead of a download link. cut_clip_status with that job waits for the file, while a second cut_clip for the same window would start a second job. Nothing is charged until the file exists. The file is kept 72 hours.

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": {
      "source": "<source>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "cut_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesWhere the clip ends: seconds into the stream (t_end_s), or h:mm:ss. 5 to 60 seconds after start.
hookNoOptional text burned in at the top, e.g. one of the moment's hooks. Up to 90 characters; emoji are dropped.
startYesWhere the clip starts: seconds into the stream (t_start_s), or h:mm:ss
layoutNofit = whole frame, blurred fill (default); split = facecam on top + gameplay; crop = centre crop
sourceYesThe stream: a Twitch VOD link or id, a Kick video link, or a channel (its live or latest stream). Use the stream url from find_clip_moments.
accountNoThe account code (hc_…) from an earlier cut_clip. Leave out on the very first cut.
facecamNoFor split: the corner of the stream the facecam is in (default tr = top right)
captionsNoBurn in captions of the streamer's speech (default true). false = no captions.
caption_lookNoCaption style: bold = big white uppercase (default); karaoke = word by word, the spoken word in yellow; clean = plain white sentence case; neon = lime green with a glow; boxed = dark text on a white box
caption_positionNoWhere the captions sit (default bottom)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / caption_look
      Added value: +{
      +  "description": "Caption style: bold = big white uppercase (default); karaoke = word by word, the spoken word in yellow; clean = plain white sentence case; neon = lime green with a glow; boxed = dark text on a white box",
      +  "enum": [
      +    "bold",
      +    "karaoke",
      +    "clean",
      +    "neon",
      +    "boxed"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / caption_position
      Added value: +{
      +  "description": "Where the captions sit (default bottom)",
      +  "enum": [
      +    "top",
      +    "middle",
      +    "bottom"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / captions
      Added value: +{
      +  "description": "Burn in captions of the streamer's speech (default true). false = no captions.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes far beyond the annotations: discloses per-cut credit cost and that nothing is charged until a file exists, an expected 10-40s runtime with a ~45s fallback to status 'cutting' plus a job code, 72-hour file retention, the account-code carryover, and that speech is transcribed on the vendor server with no outside AI service. The caption-degradation paths (no speech, unsupported language, daily limit, slow read) with captions_reason and an add_captions fallback are exactly the failure-mode detail an agent needs.

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 correctly: the first sentence gives verb, input, output and the no-editor benefit. It is dense but a few clauses restate structured data (e.g. 'captions false leaves them off' duplicates the schema default), costing a little tightness on an otherwise well-ordered narrative.

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?

With no output schema, the description still covers return shape (download link, status 'cutting', job code, captions_reason, add_captions link) and cost/retention behavior. For a 10-parameter, non-idempotent, credit-consuming operation, nothing an agent needs to call it safely 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% and already documents every parameter, enums and defaults, so this dimension is nearly satisfied structurally; the description still adds value by tying start/end to the moment's t_start_s/t_end_s and the 5-60s constraint, and by explaining what each layout and caption mode means rather than just naming it.

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?

States a specific verb and resource (cuts a window of a Twitch/Kick stream) plus the concrete output (1080x1920 MP4 with a download link), and names the sibling it follows (find_clip_moments) as the source of the window.

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?

Explicitly routes the agent: use find_clip_moments first for source and timestamps, and use cut_clip_status with the returned job code rather than firing a second cut_clip for the same window. Both the when-to-use and the when-not-to-use alternative are spelled out.

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