Skip to main content
Glama

Enhance Video Prompt

beatra.videos.enhance_prompt
Idempotent

Enhance a creative video prompt from optional image, video, or audio context. This creates an asynchronous text-only task and does not generate video. The model compatibility field is ignored. This asynchronous task consumes Beatra credits; successful completion is charged afterward from actual input and output tokens; failed or canceled tasks are not charged. Submit exactly once, then poll with beatra.tasks.get. Reuse 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>",
      "duration": "<duration>",
      "aspect_ratio": "<aspect_ratio>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.videos.enhance_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoCompatibility input only. Its value and type are ignored in the first release; Beatra resolves the available prompt-enhancement model internally.auto
promptYesRequired creative intent to expand into a production-ready video prompt.
durationYesTarget video duration in integer seconds.
last_frameNoOptional strict last-frame context image.
referencesNoOptional ordered image, video, or audio context. Reference mode and strict-frame mode are mutually exclusive.
first_frameNoOptional strict first-frame context image.
aspect_ratioYesTarget video aspect ratio. Text-only requests cannot use adaptive.
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/5.0
Behavior5/5

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

Annotations only say the tool is non-read-only, open-world, idempotent and non-destructive; the description goes well beyond that. It discloses that the call is asynchronous, text-only, consumes Beatra credits charged after completion from actual tokens, that failures and cancellations are free, and that it must be submitted once rather than retried blindly — precisely the billing and lifecycle facts an agent needs before invoking.

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 ordered by importance: what it does, what it does not do, what it costs, how to sequence the call, and the idempotency rule. No filler, no restating the title.

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?

With a rich 8-parameter schema, full param coverage, an output schema and annotations already present, the description fills exactly the remaining gaps: async lifecycle, billing, polling route, and retry semantics. Nothing needed to call it 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 100% and the schema already explains references, first/last frame exclusivity, aspect-ratio constraints and client_request_id retry semantics. The description's 'model compatibility field is ignored' and the retry reuse rule restate schema content rather than adding new meaning, so the baseline 3 applies.

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 ('Enhance a creative video prompt') plus the accepted context inputs (image, video, audio), and immediately disambiguates from the video-generation siblings with 'does not generate video'. An agent can distinguish this from beatra.videos.generate without opening a schema.

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 explicit operational guidance: submit exactly once, poll with beatra.tasks.get, and reuse client_request_id only for identical retries. It also excludes the generation use case implicitly. It stops short of naming the tool to use when the agent actually wants a rendered video.

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