Skip to main content
Glama

Long video to short clips

create_clips

PREFER THIS for 'turn this long video/podcast into shorts/clips'. engine highlights (default): transcribes (or reuses transcriptionJobId/subtitles), an LLM picks the count (default 3, max 10) best self-contained moments of minSeconds-maxSeconds, renders each MP4 (reframe face, center or none) with captions, and returns clips with title, hook, score and url. Price: 1 credit per source minute to transcribe (0 with a transcript) + 1 per 10 source minutes + 3 per output minute; quoteOnly:true prices it free. engine shorts: quick 1-5 vertical 9:16 cuts from an existing transcript, 6 credits per source minute. Long jobs: poll get_job.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_clips"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoBlock until done, up to waitSeconds. Default true.
countNoClips to return, 1-10. Default 3. Out of range: 422 limit_exceeded before any charge.
engineNohighlights (default): LLM-ranked best moments, up to 10, any shape, transcribes if needed. shorts: quick 1-5 vertical 9:16 cuts when you already have the transcript (6 credits per source minute).
fileIdNoId from upload {action:'start'}, import_url, or upload {action:'inline'}.
presetNoCaption preset id or name, or custom:cp_.... Default Clarity.
api_keyNoOnly for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.
autoFitNoDefault true. Same rule as caption_video.
reframeNoface (default): 9:16 crop that follows the speaker, center fallback. center: plain center crop. none: keep the source aspect. Same price.
captionsNoBurn captions into each clip. Default true. Same price.
glossaryNoExtra terms to spell correctly in this job only (brand names, people). The saved glossary (update_glossary {action:'save'}) is applied as well.
languageNoSpoken language (BCP-47). Omit for auto-detect.
mediaUrlNoPublic https link to the video or audio (direct file, chat attachment URL, Google Drive or Dropbox share link; YouTube is refused). Pass this or fileId.
platformNotiktok, instagram_reels, youtube_shorts, ... (see get_catalog {kind:'platforms'}). Keeps captions clear of the app UI. Same price.
faceAvoidNotrue = move captions off faces (samples faces at 2 fps, same price; result.faceAvoid.faceLayout). Shortcut for styleOverrides.faceAvoid.
quoteOnlyNoReturn the price for durationSeconds (and count/maxSeconds) without starting a job.
sourceUrlNoPublic link to the video. Not YouTube, TikTok or Instagram.
subtitlesNoReuse an SRT, VTT, or JSON transcript (JSON keeps word timing for tighter cuts).
maxCreditsNoRefuse the job if it would cost more than this many credits.
maxSecondsNoLongest clip, minSeconds-90 s. Default 60.
minSecondsNoShortest clip, 5-90 s. Default 15.
webhookUrlNohttps URL that receives a POST with the finished job (status, result URLs, credits charged).
notifyEmailNoEmail address that gets a link when the job finishes or fails.
waitSecondsNoDefault 45, max 50.
brandPresetIdNoId from manage_preset {action:'create', type:'brand'}: applies its font, color, position and logo on top of the preset.
highlightColorNo#RRGGBB for highlightWords. Default #FACC15.
highlightWordsNoShortcut: words or phrases to color in every caption (accent/case-insensitive), e.g. ["AwesomeVideo", "gratis"]. Maps to styleOverrides.wordHighlights rule {id:"custom", words, color}; on highlighter-marker, ghost-keywords and brand-box it fills their keyword list in the preset colors. Same price.
idempotencyKeyNoYour own unique key for this request (max 200 chars). Retrying with the same key returns the first job instead of charging again.
styleOverridesNoPer-call style changes deep-merged onto the preset (same fields as get_catalog {kind:'presets'} style; null removes a field), validated with the renderer schema and bundled fonts. Example {"fontSize":72,"maxWordsPerCaption":2,"wordEntrance":"bounce"}. Same price. No need to manage_preset {action:'create', type:'custom'}. Every field with examples: get_catalog {kind:'styles'}.
durationSecondsNoMedia length in seconds. Lets the price be computed without fetching media (quoteOnly, quote, plan).
transcriptionJobIdNoReuse a finished transcription: no transcription charge.

Output Schema

NameRequiredDescriptionDefault
idNoJob id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId.
kindNoJob kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...).
stepNoCurrent pipeline step while running.
errorNoFailure reason when status is failed.
resultNoResult when succeeded: url, files[{name, url}], clips, text...
statusNoqueued, running, succeeded or failed.
progressNoProgress (0-1) and ETA while running.
warningsNoNon-blocking notes.
costCentsNoCredits charged (1 credit = 1 cent).
expiresAtNoWhen the result files are deleted.
refundedCentsNoCredits refunded after a failure.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Only for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / highlightWords / description
      Previous value: -"Shortcut: words or phrases to color in every caption (accent/case-insensitive), e.g. [\"AwesomeVideo\", \"gratis\"]. Maps to styleOverrides.wordHighlights rule {id:\"custom\", words, color}. Same price."New value: +"Shortcut: words or phrases to color in every caption (accent/case-insensitive), e.g. [\"AwesomeVideo\", \"gratis\"]. Maps to styleOverrides.wordHighlights rule {id:\"custom\", words, color}; on highlighter-marker, ghost-keywords and brand-box it fills their keyword list in the preset colors. Same price."
  3. Changed34 schema fields changed
    • addedInput schema / properties / autoFit / anyOf
      Added value: +[
      +  {
      +    "description": "Default true. Same rule as caption_video.",
      +    "type": "boolean"
      +  },
      +  {
      +    "description": "Default true: caption size, words per caption (4 on 9:16, 5 on 1:1, 7 on 16:9), and a default safe zone follow the video shape, so text reads the same at 720p and 1080p and stays clear of app UI. Pass false only when the user wants the preset's exact fixed pixel sizes. Same price.",
      +    "type": "boolean"
      +  }
      +]
    • removedInput schema / properties / autoFit / type
      Removed value: -"boolean"
    • changedInput schema / properties / brandPresetId / description
      Previous value: -"Id from save_brand_preset: applies its font, color, position and logo on top of the preset."New value: +"Id from manage_preset {action:'create', type:'brand'}: applies its font, color, position and logo on top of the preset."
    • addedInput schema / properties / count / anyOf
      Added value: +[
      +  {
      +    "description": "Clips to return, 1-10. Default 3. Out of range: 422 limit_exceeded before any charge.",
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "description": "1-5 clips. Out of range returns limit_exceeded before any charge.",
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  }
      +]
    • removedInput schema / properties / count / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / count / minimum
      Removed value: --9007199254740991
    • removedInput schema / properties / count / type
      Removed value: -"integer"
    • addedInput schema / properties / engine
      Added value: +{
      +  "description": "highlights (default): LLM-ranked best moments, up to 10, any shape, transcribes if needed. shorts: quick 1-5 vertical 9:16 cuts when you already have the transcript (6 credits per source minute).",
      +  "enum": [
      +    "highlights",
      +    "shorts"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / fileId / anyOf
      Added value: +[
      +  {
      +    "description": "Id from upload {action:'start'}, import_url, or upload {action:'inline'}.",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Id of a file already uploaded with upload {action:'start'}, upload {action:'start_multipart'}, upload {action:'inline'} or import_url. Pass this or the media URL.",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / fileId / description
      Previous value: -"Id from create_upload, import_url, or upload_base64."New value: +"Id from upload {action:'start'}, import_url, or upload {action:'inline'}."
    • removedInput schema / properties / fileId / type
      Removed value: -"string"
    • changedInput schema / properties / glossary / description
      Previous value: -"Extra terms to spell correctly in this job only (brand names, people). The saved glossary (save_glossary) is applied as well."New value: +"Extra terms to spell correctly in this job only (brand names, people). The saved glossary (update_glossary {action:'save'}) is applied as well."
    • addedInput schema / properties / maxCredits / anyOf
      Added value: +[
      +  {
      +    "description": "Refuse the job if it would cost more than this many credits.",
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  {
      +    "description": "Spending cap for this call in credits (1 credit = 1 cent). If the price is higher the call fails with 422 before charging.",
      +    "minimum": 0,
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / maxCredits / minimum
      Removed value: -0
    • removedInput schema / properties / maxCredits / type
      Removed value: -"number"
    • addedInput schema / properties / maxSeconds / anyOf
      Added value: +[
      +  {
      +    "description": "Longest clip, minSeconds-90 s. Default 60.",
      +    "type": "number"
      +  },
      +  {
      +    "description": "Longest clip, minSeconds-60 seconds.",
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / maxSeconds / type
      Removed value: -"number"
    • addedInput schema / properties / mediaUrl
      Added value: +{
      +  "description": "Public https link to the video or audio (direct file, chat attachment URL, Google Drive or Dropbox share link; YouTube is refused). Pass this or fileId.",
      +  "type": "string"
      +}
    • addedInput schema / properties / minSeconds / anyOf
      Added value: +[
      +  {
      +    "description": "Shortest clip, 5-90 s. Default 15.",
      +    "type": "number"
      +  },
      +  {
      +    "description": "Shortest clip, 5-60 seconds. Default 15.",
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / minSeconds / type
      Removed value: -"number"
    • addedInput schema / properties / platform / anyOf
      Added value: +[
      +  {
      +    "description": "tiktok, instagram_reels, youtube_shorts, ... (see get_catalog {kind:'platforms'}). Keeps captions clear of the app UI. Same price.",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Where the video will be posted: tiktok, instagram_reels, youtube_shorts, facebook_reels, snapchat_spotlight, linkedin, youtube, x (aliases like reels, instagram, shorts, snap, twitter; case-insensitive). Keeps captions out of that app's buttons and text. If the user says \"para TikTok\" / \"for Reels\", pass it; if they did not say and it matters, ask. Same price. Unknown values return 422 invalid_platform before any charge. See get_catalog {kind:'platforms'}.",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / platform / description
      Previous value: -"tiktok, instagram_reels, youtube_shorts, ... (see list_platforms). Keeps captions clear of the app UI. Same price."New value: +"tiktok, instagram_reels, youtube_shorts, ... (see get_catalog {kind:'platforms'}). Keeps captions clear of the app UI. Same price."
    • removedInput schema / properties / platform / type
      Removed value: -"string"
    • addedInput schema / properties / preset / anyOf
      Added value: +[
      +  {
      +    "description": "Caption preset id or name, or custom:cp_.... Default Clarity.",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Caption preset: id, slug or name from get_catalog {kind:'presets'} (e.g. 'hormozi-style', 'Clarity') or custom:cp_... from manage_preset {action:'create', type:'custom'}.",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / preset / type
      Removed value: -"string"
    • addedInput schema / properties / reframe / anyOf
      Added value: +[
      +  {
      +    "description": "face (default): 9:16 crop that follows the speaker, center fallback. center: plain center crop. none: keep the source aspect. Same price.",
      +    "enum": [
      +      "center",
      +      "face",
      +      "none"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "description": "face (default): track the main speaker. center: plain center crop. Same price.",
      +    "enum": [
      +      "face",
      +      "center"
      +    ],
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / reframe / enum
      Removed value: -[
      -  "center",
      -  "face",
      -  "none"
      -]
    • removedInput schema / properties / reframe / type
      Removed value: -"string"
    • changedInput schema / properties / styleOverrides / description
      Previous value: -"Per-call style changes deep-merged onto the preset (same fields as list_presets style; null removes a field), validated with the renderer schema and bundled fonts. Example {\"fontSize\":72,\"maxWordsPerCaption\":2,\"wordEntrance\":\"bounce\"}. Same price. No need to save_custom_preset. Every field with examples: get_style_reference."New value: +"Per-call style changes deep-merged onto the preset (same fields as get_catalog {kind:'presets'} style; null removes a field), validated with the renderer schema and bundled fonts. Example {\"fontSize\":72,\"maxWordsPerCaption\":2,\"wordEntrance\":\"bounce\"}. Same price. No need to manage_preset {action:'create', type:'custom'}. Every field with examples: get_catalog {kind:'styles'}."
    • addedInput schema / properties / subtitles / anyOf
      Added value: +[
      +  {
      +    "description": "Reuse an SRT, VTT, or JSON transcript (JSON keeps word timing for tighter cuts).",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Existing captions as SRT, WebVTT or AwesomeVideo JSON text. Skips transcription (no transcription charge).",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / subtitles / type
      Removed value: -"string"
    • addedInput schema / properties / transcriptionJobId / anyOf
      Added value: +[
      +  {
      +    "description": "Reuse a finished transcription: no transcription charge.",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Id of a finished transcribe or caption_video job whose transcript to reuse (no new transcription charge).",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / transcriptionJobId / type
      Removed value: -"string"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "description": "A job: poll get_job with id until status is succeeded or failed.",
      +  "properties": {
      +    "costCents": {
      +      "description": "Credits charged (1 credit = 1 cent).",
      +      "type": "number"
      +    },
      +    "error": {
      +      "description": "Failure reason when status is failed."
      +    },
      +    "expiresAt": {
      +      "description": "When the result files are deleted."
      +    },
      +    "id": {
      +      "description": "Job id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId.",
      +      "type": "string"
      +    },
      +    "kind": {
      +      "description": "Job kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...).",
      +      "type": "string"
      +    },
      +    "progress": {
      +      "description": "Progress (0-1) and ETA while running."
      +    },
      +    "refundedCents": {
      +      "description": "Credits refunded after a failure.",
      +      "type": "number"
      +    },
      +    "result": {
      +      "description": "Result when succeeded: url, files[{name, url}], clips, text..."
      +    },
      +    "status": {
      +      "description": "queued, running, succeeded or failed.",
      +      "type": "string"
      +    },
      +    "step": {
      +      "description": "Current pipeline step while running.",
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "description": "Non-blocking notes.",
      +      "items": {},
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Changed6 schema fields changed
    • addedInput schema / properties / brandPresetId / description
      Added value: +"Id from save_brand_preset: applies its font, color, position and logo on top of the preset."
    • addedInput schema / properties / durationSeconds / description
      Added value: +"Media length in seconds. Lets the price be computed without fetching media (quoteOnly, quote, plan)."
    • addedInput schema / properties / glossary / description
      Added value: +"Extra terms to spell correctly in this job only (brand names, people). The saved glossary (save_glossary) is applied as well."
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Your own unique key for this request (max 200 chars). Retrying with the same key returns the first job instead of charging again."
    • addedInput schema / properties / notifyEmail / description
      Added value: +"Email address that gets a link when the job finishes or fails."
    • addedInput schema / properties / webhookUrl / description
      Added value: +"https URL that receives a POST with the finished job (status, result URLs, credits charged)."
  5. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare a non-read-only, open-world, non-idempotent, non-destructive job. The description adds substantial behavior beyond that: full credit pricing formula, that quoteOnly prices free, that long jobs are asynchronous and require polling get_job, and that many options are "same price". It does not restate safety, but annotations already cover that.

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 key routing cue is front-loaded and the pricing formula is compact despite its density. Every sentence carries operational value (engines, price, polling), though the single long paragraph is dense and could be broken up for scanning.

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 30-parameter asynchronous job tool with an output schema, the description covers the essential decision points: which engine, cost model, defaults, and how to follow up on long jobs. Return values are delegated to the output schema, so nothing critical 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; the description still adds real meaning by explaining engine trade-offs, the default count of 3 (max 10), reframe modes, and pricing interplay with params (subtitles/transcriptionJobId avoid the transcription charge). This goes beyond per-field schema text.

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+resource and an explicit preference cue: "PREFER THIS for 'turn this long video/podcast into shorts/clips'". It then distinguishes the two operating modes (engine highlights vs engine shorts) so an agent can tell exactly what the tool produces without opening the schema.

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?

Gives strong when-to-use guidance via the "prefer this" directive and discriminates the two engines by condition (shorts is for when you already have a transcript). It also tells the agent to poll get_job for long jobs. It stops short of stating when to prefer siblings like caption_video or burn_captions outright, leaving that boundary implicit.

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