Skip to main content
Glama

Turn a video into shorts

create_job

Start a job: ClipForge downloads the video from a direct file URL (mp4/mov/webm/mkv, not a web page), transcribes it, ranks the best moments by Hook Score and renders each as a captioned vertical short (MP4 + SRT + thumbnail). Returns a job id; poll get_job. Files are deleted after 24 h.

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_url": "<source_url>"
    },
    "name": "create_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoshorts (default) = ranked vertical clips. full = one finished long-form video (YouTube): retakes, fillers, rambling and dead air cut, each cut listed with its reason and restorable, chapters in edited time, title/description/tags and thumbnail picks.
cleanNoRemove filler words (um, uh, you know), stutters and abandoned retakes (default true).
colorNoColor preset; default auto (measures the video and fixes exposure, contrast, saturation, color cast).
countNoHow many shorts (default 3).
formatNoFrame (default 9:16).
layoutNospeaker = centre crop, podcast = two people stacked, gaming = cam on top.
api_keyNoYour ClipForge API key (or send Authorization: Bearer). Get one with create_api_key.
max_secNoLongest short in seconds (default 60).
min_secNoShortest short in seconds (default 15).
captionsNoBurn in word-by-word captions (default true).
languageNoSpeech language: auto (default) or a code like en, es, de, ja.
platformNoTemplate: sets 9:16, caption height, max length.
highlightNoWords to color in captions.
ai_tightenNoAlso cut throwaway sentences and points said twice (AI model when available, rules otherwise). Default false.
face_trackNoKeep the speaker's face in frame (default true).
resolutionNoOutput width for 9:16 (default 720).
source_urlYesDirect link to the video file.
transitionNoEffect at each jump cut (default none).
keep_pausesNofull mode: keep the pauses, only cut words (default false).
webhook_urlNoOptional: POSTed {event, job} when done (signed X-ClipForge-Signature with your webhook secret).
translate_toNoAlso make captions translated to this language code (needs the AI model; skipped if it is busy).
zoom_punchesNoGentle zoom-ins every ~5 s (default true).
burn_captionsNofull mode: burn captions into the video (default false; SRT/VTT always made).
caption_styleNoCaption look (default pop).
before_previewNoAlso make a small unedited "before" MP4 of each short to compare (default true).
remove_silencesNoCut pauses over 0.45 s (default true).

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?

Annotations only mark this as a non-read-only, open-world, non-idempotent, non-destructive write. The description adds behavior annotations do not carry: async job semantics with polling, fixed output artifacts (MP4 + SRT + thumbnail), and a 24-hour file deletion policy. It does not warn that repeat calls create duplicate jobs or mention credits/rate limits, which matters for a non-idempotent paid render.

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

Conciseness5/5

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

Three sentences, front-loaded with the action and pipeline, then the return/poll contract, then the retention caveat. There is no filler and the input constraint is attached to the source_url concept it governs.

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 26-parameter, asynchronous, no-output-schema tool the description covers the essentials: what runs, what comes back, how to retrieve results, and how long files persist. The notable remaining gap is that mode 'full' (long-form output) and cost/idempotency implications of starting duplicate jobs are only documented in the schema, not in the description.

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 100% schema coverage across 26 parameters, the schema already carries the semantics and a baseline of 3 applies. The description still adds value beyond it by constraining source_url to a direct file link with an explicit format whitelist and a negative case ('not a web page'), and by stating which artifacts the run produces.

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 names a concrete verb and delivers the full pipeline: download from a direct file URL, transcribe, rank by Hook Score, render captioned vertical shorts, and return a job id. It also scopes the input ('mp4/mov/webm/mkv, not a web page'), which lets an agent distinguish this job-creating step from siblings like get_job or plan_shorts without opening a 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?

It clearly states the follow-up behavior ('Returns a job id; poll get_job'), so the agent knows this is asynchronous rather than a blocking render. It also excludes a common misuse case ('not a web page'). It stops short of saying when to prefer plan_shorts or render_clip instead, so there is no full when/when-not routing.

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