Skip to main content
Glama

Compose Video

beatra.videos.compose
Idempotent

Join your own video clips into one MP4 with optional narration, ducked music, and burned-in subtitles. Set keep_audio on a clip to keep that clip's own sound, such as a lip-synced presenter take; other clips are muted. Call beatra.models.list with capability video_compose for the price. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.

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>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.videos.compose"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipsYes
modelNoauto
musicNo
canvasNo9:16
narrationNo
subtitlesNo
client_request_idYesStable retry identity for this billable operation. Reuse only for the exact same generation arguments.

Output Schema

NameRequiredDescriptionDefault
taskNo
errorNo
usageNo
statusNo
billingNo
task_idNo
terminalNo
artifactsNo
resolved_modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the call is billable and consumes credits, that it is asynchronous, that it must be submitted exactly once, and that client_request_id may only be reused for an identical retry. It also explains the audio semantics: only clips with keep_audio set retain their own sound, everything else is muted.

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?

Four tight sentences, front-loaded with what the tool produces, then billing, then the async/retry protocol. No filler and the ordering matches the agent's decision sequence.

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?

Given an output schema, return values need not be described, and the billing plus async polling contract is fully covered. What remains thin is composition semantics: acceptable clip counts, canvas choice, and subtitle constraints are left implicit for a fairly complex, billable tool.

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

Parameters2/5

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

Schema description coverage is only 14%, so the description needs to carry parameter meaning, yet it only clarifies keep_audio (which the schema already documents). Canvas aspect ratios, model selection, narration, music volume, subtitle timing/limits, and clip trimming are left entirely to the sparse schema.

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: join user-supplied clips into one MP4, with named optional layers (narration, ducked music, burned-in subtitles). Phrasing like "your own video clips" implicitly separates it from the generation/animation siblings, but no sibling is named, so an agent must infer the boundary rather than read 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?

Gives a clear procedural context: check price via models.list with capability video_compose, submit once, then poll with beatra.tasks.get. It does not state when this tool should be rejected in favor of videos.edit or videos.animate, so exclusions are absent, but the operational guidance is explicit.

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