Skip to main content
Glama

Interpolate Video Frames

beatra.videos.interpolate
Idempotent

Generate toward a required last frame, optionally constrained by a first frame and driving audio. Use animate when only a first frame exists. 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": {
      "last_frame": "<last_frame>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.videos.interpolate"
  }
}

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
promptNoOptional instructions for the motion ending at the required last frame.
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.
last_frameYesRequired image that must be the video's last frame.
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.
first_frameNoOptional image that must be the video's first frame. Omit it for a last-frame-only request when the selected model advertises that input combination.
aspect_ratioNoExplicit output ratio when the selected model accepts it. Omit for a declared model default, source-derived ratio, or fixed model behavior.
driving_audioNoOptional driving audio. Supplying it requires a model that supports this control.
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.9/5.0
Behavior5/5

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

Annotations already declare non-readOnly, idempotent, openWorld, non-destructive, but the description adds the facts an agent most needs: the call is billable and consumes credits, it returns an asynchronous task rather than a result, and it must not be double-submitted. The retry guidance ('Reuse the same client_request_id only for an identical retry') is consistent with idempotentHint=true and clarifies how that hint is intended to be used.

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?

Five tightly packed sentences, each carrying distinct information: purpose, alternative, prerequisite, billing/async warning, and retry protocol. The most consequential facts (billable, async, submit once) come early enough to shape the call.

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 17-parameter, billable, asynchronous generation tool, the description covers everything an agent must know before calling: billing impact, async lifecycle, polling target, deduplication key semantics, and the sibling for the single-frame case. Return values are covered by the existing output schema, so nothing critical is missing.

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?

Schema description coverage is 94%, so the schema already carries most parameter meaning and a 3 would be defensible. The description still adds semantic framing beyond the schema by establishing which inputs are hard requirements versus optional constraints (last frame required; first frame and driving audio optional) and by pointing at beatra.models.list for model/cost decisions.

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 opening sentence gives a specific verb ('Generate'), the output shape ('toward a required last frame'), and the optional constraints (first frame, driving audio). This maps precisely to the last_frame/first_frame/driving_audio parameters and separates it from beatra.videos.animate by name.

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 states an explicit alternative and the condition that selects it ('Use animate when only a first frame exists'), plus prerequisites ('Call beatra.models.list before model or cost comparisons'). The operational sequence is also spelled out: submit exactly once, then poll with beatra.tasks.get.

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