Skip to main content
Glama
Hermoso

Hermoso

Official

Repurpose a video for every placement

repurpose_video

Convert one video into every placement size in a single job—9:16, 1:1, 16:9, or platform presets—as named files with a manifest, reframing, captions, dubs, and a dry-run price.

Instructions

ONE video in, EVERY placement out, in one job, as a named file list ([_].mp4) with a manifest. Placements: 'everywhere' (default: 9:16, 4:5, 1:1, 16:9), any W:H, a pixel size (1200x628) or a platform word (tiktok, reels, stories, feed, square, youtube, linkedin, pinterest). Each is reframed by a BLUR-PAD by default (the whole frame over a blurred copy of itself; free, no AI), reframe 'crop' (fill, edges cut; free) or 'ai' (the new canvas generated around the frame; paid, for a canvas the engine makes, else padded and said). A placement may be {placement, reframe} to mix. Optional captions (word-timed, ~4 words a cue, placed for each canvas) and languages (a lip-synced dub per language; every placement of each). A pack of pads and crops only is billed 0. dryRun:true = the exact price (the sum of every leg's own price), which is what it charges. For ONE canvas use post_edit op pad.

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": "<video>"
    },
    "name": "repurpose_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
padNothe pad's look: fill 'blur' (default) or a #rrggbb colour, blur 0-1, dim 0-0.6, position top/center/bottom or 0-1
nameNothe asset name the files are named after
videoYesthe video: an https / upload_file URL, a Library id (L0…), or a local path on the CLI
dryRunNoprice only: nothing made, nothing charged
reframeNodefault 'pad' (free); 'ai' is paid and only when the user asks
captionsNotrue = word-timed captions on every file (only when the user asks); a textStyle preset name or object sets the look
get_costNotrue: return the price only; nothing runs or bills
languagesNodub into these languages (paid), e.g. ['Spanish','de']; the original is kept too
placementsNodefault ['everywhere']; a canvas, a WxH size, a platform word, or {placement, reframe}
wordsPerCueNocaptions: 1-8 words a cue (default 4)
idempotency_keyNochosen once, resent unchanged on retries: the same key never buys twice
expected_creditsNothe get_cost price; refused unbilled if the live price differs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.532
    • addedInput schema / properties / expected_credits
      Added value: +{
      +  "description": "the get_cost price; refused unbilled if the live price differs",
      +  "type": "number"
      +}
    • addedInput schema / properties / get_cost
      Added value: +{
      +  "description": "true: return the price only; nothing runs or bills",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "chosen once, resent unchanged on retries: the same key never buys twice",
      +  "type": "string"
      +}
  2. Addedv0.1.519

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare the generic profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the description carries real weight and delivers: which operations are free vs paid (pads/crops bill 0, ai canvas and dubs are paid), that dryRun returns the exact summed price which is what it charges, and that a lip-synced dub is produced per language across every placement. It stops short of describing job duration, failure handling, or what the manifest contains.

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 with the core promise and the output contract, and nearly every sentence carries distinct operational information. The style is telegraphic and stacks parentheticals heavily, which makes it dense to parse, but there is little true 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 12-parameter, nested-object, no-output-schema tool this covers the essential decision points: what gets produced, default expansion, cost model, opt-in paid features, and the dry-run escape hatch. What remains thin is operational feedback (progress, partial failures across up to 8 placements x 4 languages) and the manifest's contents.

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 earns above that by explaining what the placement strings actually mean ('everywhere' expands to 9:16, 4:5, 1:1, 16:9, and platform words like tiktok/reels map to canvases) and by clarifying reframe tradeoffs (pad/crop free, ai paid and falls back to pad when the engine cannot generate). Captions are characterised concretely (~4 words a cue, word-timed, per-canvas placement), which the schema does not say.

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 concrete verb and resource with full scope: 'ONE video in, EVERY placement out, in one job', and pins down the output contract with the file naming convention '<name>_<placement>_<WxH>[_<lang>].mp4' plus a manifest. It is clearly distinguishable from reframe_video, dub_video and post_edit, which do single slices of this work.

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?

Gives explicit routing to a sibling: 'For ONE canvas use post_edit op pad', and names the conditions that select the pricing paths (dryRun:true, get_cost). It also flags the opt-in nature of paid features ('ai' is paid and only when the user asks; captions 'only when the user asks'), which tells an agent when not to enable them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools