Skip to main content
Glama

Understand Video

beatra.videos.understand
Idempotent

Answer questions about one video limited to 50 MiB and 360 seconds. Upload a local video with beatra.assets.upload first and pass it as an artifact; use data_uri only for very small videos. Beatra samples at 1 fps, or 0.5 fps from 120s and 0.2 fps from 240s; successful tasks cost 0.4 credits per rounded-up admitted second and detail does not affect price. 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>",
      "video": "<video>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.videos.understand"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOmit or use 'auto' unless the user explicitly requests MiniMax-M3.auto
videoYesThe single video input. Beatra samples internally at 1 fps, 0.5 fps from 120 seconds, and 0.2 fps from 240 seconds.
detailNoVisual detail preference. It does not change Beatra's per-second price.default
promptYesRequired question or instruction containing non-whitespace characters.
temperatureNo
response_formatNo
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.8/5.0
Behavior5/5

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

Annotations only declare readOnly=false, openWorld=true, idempotent=true, destructive=false; the description adds the billable nature (0.4 credits per rounded-up admitted second), that detail does not change price, that the call creates an asynchronous task, and the sampling schedule (1 fps, 0.5 fps from 120s, 0.2 fps from 240s). It also explains what idempotency actually means here — reuse client_request_id only for an identical retry — which the annotation alone does not convey.

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?

Front-loaded with the capability and hard limits, then prerequisites, pricing, and lifecycle in descending order of importance. Dense but every sentence carries operational information — no restatement of the name or title, no filler.

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?

Covers limits, input-mode tradeoffs, model policy, cost model, and the async submit-then-poll lifecycle, and an output schema exists so return values need no explanation. The only shortfall is that temperature and response_format are left undefined in both the description and the schema for a 7-parameter billable tool.

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 71%, and the description still adds real meaning for the high-stakes parameters: artifact-vs-data_uri selection for video, omit-model-by-default for model, and the price-neutrality of detail. It says nothing about temperature or response_format, which are also undocumented in the schema, so a small gap remains.

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?

Opens with a specific verb+resource and scope: "Answer questions about one video limited to 50 MiB and 360 seconds." The verb and the admitted-duration cap distinguish it from generation siblings like beatra.videos.generate or beatra.images.understand without needing to open any schema.

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?

Explicit when-to-use routing: upload locally with beatra.assets.upload and pass an artifact, use data_uri only for very small videos, omit model unless explicitly requested, call beatra.models.list before model/cost comparisons, then poll with beatra.tasks.get. It also states the retry rule (same client_request_id only for identical retries) and the submit-once constraint, leaving no inference for the agent.

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