Skip to main content
Glama

stitch_video

Assemble hook + demo clips into a final vertical video with text overlay. Costs 2 credits. IMPORTANT: Before stitching, ask the user whether they want the text overlay to appear on the demo section too or only on the hook.

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

Input Schema

NameRequiredDescriptionDefault
clipsYesOrdered list of clips to stitch
fontSizeNoFont size in pixels (default 64, reads well on TikTok/Reels)
hookTextNoText overlay on the video
musicUrlNoBackground music URL or local path (e.g. /music/lofi.mp3)
textOnDemoNoShow text overlay on demo clips too (default false - text appears on hook only)
musicVolumeNoMusic volume 0-1 (default 0.3)
projectNameYesName for this video project
workspaceIdNoWorkspace (product/brand) id from list_workspaces. Omit to use the default workspace (set_default_workspace), else the newest one.
textPositionNoVertical position of text overlay
textUppercaseNoUppercase the text
textBackgroundNoAdd semi-transparent background behind text
exportResolutionNoExport resolution (default 1080p)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / fontSize / description
      Previous value: -"Font size in pixels (default 64 — reads well on TikTok/Reels)"New value: +"Font size in pixels (default 64, reads well on TikTok/Reels)"
  2. Changed1 schema field changed
    • addedInput schema / properties / workspaceId
      Added value: +{
      +  "description": "Workspace (product/brand) id from list_workspaces. Omit to use the default workspace (set_default_workspace), else the newest one.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real value: it discloses a 2-credit cost and a mandatory user-confirmation step before execution. It omits other material behavior — whether stitching is asynchronous (get_render_status exists as a sibling), what the call returns, and whether credits are consumed on failure or re-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 short sentences, front-loaded with purpose, then cost, then the critical pre-call requirement. Every sentence earns its place and the capitalized IMPORTANT marker correctly flags the one thing that must not be skipped.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter, credit-consuming assembly tool with no annotations and no output schema, the description covers purpose, cost, and the confirmation gate but leaves the post-call story undefined — no mention of job polling, returned identifiers, or what a completed stitch produces. Adequate but with clear gaps given the tool's complexity.

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 all 12 parameters, making baseline 3 appropriate. The description does add one useful cross-reference by tying the 'ask the user' instruction to the textOnDemo flag, but it says nothing about workspaceId resolution, music volume, or resolution tradeoffs beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Assemble hook + demo clips into a final vertical video with text overlay'), and the hook/demo terminology matches the clip type enum, so an agent can map intent to the tool. It does not explicitly distinguish itself from render_video or edit_video, which is the only thing keeping it below a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides one concrete procedural guideline — confirm with the user whether the overlay should extend to demo clips before calling — which is genuinely actionable. However, it gives no when-to-use versus render_video/edit_video guidance and no prerequisites or exclusion conditions beyond that single question.

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