Skip to main content
Glama

Generate Video

beatra.videos.generate
Idempotent

Generate from text when there is no source image or video. Supports optional driving audio on compatible models. Omit model unless the user explicitly requests one; 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": {
      "prompt": "<prompt>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.videos.generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNo
audioNoOptional driving audio for models that support audio-conditioned generation.
modelNoUse auto for request-dependent selection from the ordered live candidates. A concrete model is evaluated exactly as requested and is never substituted.auto
promptYesRequired description of the video to generate without source image or video media.
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.
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.
aspect_ratioNoExplicit output ratio when the selected model accepts it. Omit for a declared model default, source-derived ratio, or fixed model behavior.
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-read-only, idempotent, non-destructive, open-world, but the description adds information the annotations cannot: the call is billable and consumes credits, it returns an asynchronous task rather than a finished video, and retries must reuse client_request_id only for identical arguments. The 'submit exactly once' directive also clarifies what idempotentHint actually means in practice.

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 short sentences, each carrying a distinct operational fact: scope, optional audio, model default policy, billing/async nature, and retry identity. Front-loaded with the routing condition and free of restatement.

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 15-parameter billable asynchronous generation tool with both annotations and an output schema, the description supplies everything an agent needs beyond structured fields: cost implications, task lifecycle, polling target, model selection policy, and idempotency rules.

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 coverage is 93%, so per-parameter meaning is largely already documented; the description still contributes a policy decision the schema does not encode ('omit model unless the user explicitly requests one') and notes that audio is optional and model-gated. It does not cover most other parameters, but at this coverage level that is a minor gap rather than a failure.

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 specific verb and resource plus a negative scope condition: 'Generate from text when there is no source image or video.' That clause alone routes the agent away from reference-, animate-, and edit-style siblings without needing to open their schemas.

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?

Gives explicit when-to-use (no source media), an explicit alternative precondition ('call beatra.models.list before model or cost comparisons'), a default policy ('omit model unless the user explicitly requests one'), and the follow-up flow ('submit exactly once, then poll with beatra.tasks.get'). Exclusions and alternatives are both present.

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