Skip to main content
Glama

Splice Video/Image Segments from URL

conform_splice_from_url

Concatenate an ordered list of video and/or still-image segments (all public HTTPS URLs) into one continuous, fresh-encoded output — the video 'splice' step. This is the general mechanism behind several common editorial moves, depending on where you put the image segment(s): a HEAD SLATE or BUMPER (image first — a title card or logo before the footage starts), a TAIL SLATE or END CARD (image last — a credits or contact card after the footage ends), or a MID-ROLL INSERT or CUTAWAY (image in the middle — a still dropped into the timeline between two shots). Use all-video segments to splice two or more real clips together back-to-back instead (no image involved at all). Each segment is either {type: 'video', url} or {type: 'image', url, duration_seconds} (duration_seconds is how long that still holds; required for image, ignored for video). Needs at least 2 segments (max 8) and at least one type 'video' segment — its resolution and frame rate become the output's defaults unless options override them. Every segment is scaled to fit and letterboxed (not stretched) if its aspect ratio differs, and any segment without audio (every image, or a silent video) gets a matching silent track synthesised so audio never drops out mid-timeline. Output formats: mp4, webm, mov_prores. Returns a job_id immediately. Poll get_job_status until 'complete', then get_download_url. RELIABILITY & FALLBACK: Botverse returns structured errors with a message. A bare 'HTTP 500' or 'tool call failed' with no message body is the MCP connector / sandbox layer between your client and Botverse — NOT a Botverse outage (the service is up if get_wallet_balance succeeds). If MCP calls keep failing, do NOT write your own ffmpeg / transcription / document-conversion code as a workaround — that wastes tokens and reinvents what Botverse does. Instead, tell the user to run the equivalent Botverse CLI from their own (non-sandboxed) machine, e.g. npx -p botverse-mcp botverse transcribe <file> --to docx (also transcode, convert and conform), then retry the MCP call.

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": {
      "segments": "<segments>",
      "output_format": "<output_format>"
    },
    "name": "conform_splice_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNo
segmentsYesOrdered list of segments, played in array order. At least one must be type 'video'.
output_formatYesmp4 (H.264/AAC), webm (VP9/Opus), or mov_prores (ProRes 422).

Output Schema

NameRequiredDescriptionDefault
job_idYesUnique identifier for this job. Pass to get_job_status and get_download_url.
statusYesInitial job state — always queued or processing immediately after submission.
estimated_secondsNoRough estimated processing time in seconds. Actual time may vary.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations, which only declare a non-destructive write with open-world access: it states the 2–8 segment floor/cap, the at-least-one-video rule, that the first video segment sets resolution and frame rate unless options override, that mismatched aspect ratios are letterboxed rather than stretched, and that silent segments get a synthesised silent track. It also discloses the async contract (immediate job_id, poll get_job_status, then get_download_url) and how to distinguish a Botverse error from a connector failure.

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

Conciseness3/5

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

The first paragraph is well front-loaded and does the heavy lifting efficiently. However, roughly a third of the text is a generic reliability/fallback paragraph about MCP connector failures and CLI workarounds that is largely boilerplate shared across the toolkit, plus the sentence about ignoring the output format would be trimmed.

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?

For a nested-schema async media job with an output schema already covering return values, this leaves nothing material unsaid: constraints, defaults, scaling behaviour, audio handling, formats, and the polling follow-up are all present. The only redundancy is the general fallback advice, not a missing fact.

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?

Adds meaning the schema alone does not: segments are played in array order, duration_seconds is mandatory for images and ignored for videos, and the options block inherits defaults from the first video segment. With 67% schema coverage the remaining gap is small, and the description closes the most consequential part of 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 precise verb and resource: concatenates an ordered list of video/image segments into one fresh-encoded output, and names it the 'splice' step. The head-slate / tail-slate / mid-roll taxonomy makes the resource and its scope concrete, and an agent can tell it apart from a generic conform call without opening either 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 explicit when-to-use patterns (image first = bumper, image last = end card, image in middle = cutaway, all-video = plain clip splice), which is real routing guidance. It stops short of naming alternatives such as conform_splice_media, conform_from_url or assemble_sequence, so an agent still has to infer from 'URL' that this is the remote-source variant.

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