Skip to main content
Glama

Edit Video

beatra.videos.edit
Idempotent

Edit one source video by instruction, with optional multimodal references; do not use this to extend a clip. Input plus output duration may be billable. Call beatra.models.list before model or cost comparisons. 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": {
      "source_video": "<source_video>",
      "instruction": "<instruction>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.videos.edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNo
modelNoUse auto for request-dependent selection from the ordered live candidates. A concrete model is evaluated exactly as requested and is never substituted.auto
durationNoRequested output duration as integer seconds, or 'auto' when the selected model may choose its documented duration. Omit to use the selected model default.
watermarkNoWhether generated video should include the model watermark.
referencesNoOptional ordered image, video, or audio references. The selected model must support every supplied reference kind and count.
resolutionNoRequested model-defined output resolution tier. Omit to use the selected model's declared default; unsupported tiers are rejected rather than coerced.
web_searchNoWhether the selected model may use web search during generation.
instructionYesRequired instruction describing changes to the source video.
aspect_ratioNoExplicit output ratio when the selected model accepts it. Omit for a declared model default, source-derived ratio, or fixed model behavior.
source_videoYesRequired video whose existing content will be edited.
audio_settingNoOptional edit-audio policy: auto lets a compatible model choose, while origin requests preservation of source audio.
output_formatNoOptional output container. Omit or use mp4 for the existing default; models that advertise mov can return MOV without transcoding.
enhance_promptNoAsk the selected model to rewrite the prompt before generation. Omit or use null to keep the prompt exactly as written.
generate_audioNoWhether the selected model should generate synchronized audio.
negative_promptNoContent or qualities to avoid when supported by the selected model.
client_request_idYesStable retry identity for this billable operation. Reuse only for the exact same generation arguments.
return_last_frameNoWhether to return the generated video's last frame as an image artifact.

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.6/5.0
Behavior5/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and openWorldHint=true, but the description adds material facts beyond them: the call is billable and consumes credits, it creates an asynchronous task, input plus output duration may be billed, and the client_request_id must only be reused for an identical retry. Those are exactly the operational and cost behaviors an agent cannot infer from the annotations.

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?

The description is compact and front-loaded, leading with what it does and what it does not do before cost and task-lifecycle constraints. The trailing sentences are terse, near-note-form obligations, which is efficient but slightly less readable than flowing prose.

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?

Return values need not be explained because an output schema exists, and for a 17-parameter async video-edit tool the description still covers billing, asynchronous task creation, polling, and retry identity. Nothing an agent needs to invoke it safely and correctly is missing.

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 description coverage is 94%, so nearly every one of the 17 parameters is already documented in the schema, which sets the baseline at 3. The description adds only marginal parameter meaning, mainly reinforcing client_request_id retry semantics and the billable-duration link, without explaining model, references, or resolution behavior beyond what the schema states.

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?

The definition states a specific verb and resource ('Edit one source video by instruction') plus scope ('optional multimodal references') and explicitly rules out the adjacent capability ('do not use this to extend a clip'), which routes the agent away from beatra.videos.extend.

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?

It gives explicit when-not guidance (not for extending), a prerequisite ordering ('Call beatra.models.list before model or cost comparisons'), and the follow-up workflow ('Submit exactly once, then poll with beatra.tasks.get'), so the agent knows both the exclusion and the correct sequence of calls.

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