Skip to main content
Glama

Edit clips into one video

compose_video

Cut videos and pictures from earlier results into one finished MP4, in order, with optional music (your own track or a free library track), narration, sound effects, captions and a title. Pictures get a slow camera move. Free: nothing is charged; this only edits existing media. Generate new media separately with a USD approval. Takes about a minute; returns a link to the finished video.

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": {
      "clips": "<clips>"
    },
    "name": "compose_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional file name for the finished video.
clipsYesThe pieces in order (1 to 30): popnow:// links to videos or pictures from earlier results.
titleNoOptional title shown big for the first 2.5 seconds.
music_urlNoOptional background music: a popnow:// link to a song or instrumental (for example from create_music).
sound_urlNoOptional sound effects or ambience: a popnow:// link from add_sound.
subtitlesNoOptional captions burned into the video, in time order.
mute_clipsNoSet true to drop the clips' own sound (keep only music, narration and sound_url).
transitionNoHow pieces join: cut (default) or crossfade.
music_trackNoOr a free PopNow library track instead of music_url: rising-tide, moonlit-reverie, banana-peel, last-letter, rain-on-glass, tightening-wire, neon-circuit or midnight-jazz.
aspect_ratioNo9:16 (phone, default), 16:9 (wide) or 1:1 (square). Pieces with another shape get borders.
voiceover_urlNoOptional narration: a popnow:// link from create_speech. Music is lowered while it plays.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare non-read-only, non-destructive, non-open-world, non-idempotent, so the safety profile is already covered; the description adds cost (free), latency ("Takes about a minute") and, absent an output schema, what comes back ("returns a link to the finished video"). It does not say whether a slow run requires polling get_job, which is the remaining behavioral unknown.

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-loads the core action in the first sentence, then cost, then output. Minor waste in the doubled phrasing "Free: nothing is charged," but every other sentence (routing, latency, return value) carries information.

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 an 11-parameter composition tool with no output schema, it covers what the tool produces, how long it takes, what it costs and where the inputs come from. Only sync vs. async execution and failure modes are left unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents every parameter including motion defaults, duration defaults and aspect-ratio borders. The description adds only ordering semantics ("in order") and the picture-camera-move default, which is close to restating the schema — baseline 3.

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?

"Cut videos and pictures from earlier results into one finished MP4, in order" names a specific verb (cut/assemble), the exact resource (video + picture clips) and the output (one MP4). The multi-clip composition framing distinguishes it from the single-asset edit_video sibling without naming it.

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?

Explicitly routes new-media generation to other tools ("Generate new media separately with a USD approval") and states the cost condition ("Free: nothing is charged"), which is real when-to-use guidance. The one gap is that it never states how this differs from edit_video for an agent holding a single clip.

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.