Skip to main content
Glama

Export video

export_video

Export an mp4 for an existing Revid project, with the export modal's resolution, frame rate and compression settings. The call waits up to 40 seconds. An export done by then returns status "ready" with its videoUrl. A longer render (most videos over a minute, 4k) returns status "processing" with an exportId: call get_export_status with it until ready or failed. Do not call export_video again for the same project while it is processing: every call charges a new export. Requires an active Revid plan.

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": {
      "pid": "<pid>"
    },
    "name": "export_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidYesExisting Revid project id.
fileNameNoOptional export filename. `.mp4` is added automatically if missing.
frameRateNoFrames per second: 24, 25, 30, 50 or 60. Omit to keep the project's own (30 by default).
resolutionNoExport resolution. 4k costs 10 extra credits. Omit to keep the project's own (720p by default).
compressionNolow (default, sharpest), medium or high (lightest file), or a CRF from 0 to 51.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
methodYes
statusYes
endpointYes
retryAfterSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / frameRate / anyOf
      Removed value: -[
      -  {
      -    "const": 30,
      -    "type": "number"
      -  },
      -  {
      -    "const": 60,
      -    "type": "number"
      -  }
      -]
    • changedInput schema / properties / frameRate / description
      Previous value: -"Frames per second: 30 (default) or 60."New value: +"Frames per second: 24, 25, 30, 50 or 60. Omit to keep the project's own (30 by default)."
    • addedInput schema / properties / frameRate / enum
      Added value: +[
      +  24,
      +  25,
      +  30,
      +  50,
      +  60
      +]
    • addedInput schema / properties / frameRate / type
      Added value: +"number"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnly=false, idempotent=false), and the description adds the operationally critical context the agent cannot get elsewhere: an internal 40-second wait, the two terminal/async status shapes, the fact that every invocation incurs a new charge, and the plan requirement. This is exactly the kind of information that prevents a costly duplicate export call.

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?

Four sentences, front-loaded with the action, then the timing contract, then the async path, then the guardrail and prerequisite. No sentence repeats structured data and none could be deleted without losing a decision-relevant fact.

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?

Although an output schema exists, the description goes further by explaining what the two status values mean for the caller's next action. Combined with the charge warning and plan prerequisite, an agent has everything needed to invoke this tool correctly on the first try for a non-idempotent, credit-consuming operation.

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 documents pid, fileName, frameRate, resolution and compression including defaults and the enumerated values. The description only gestures at the settings ("the export modal's resolution, frame rate and compression settings") without adding format or default semantics beyond what the schema states, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource ("Export an mp4 for an existing Revid project") and scopes it to the export modal's settings, so the agent knows exactly which artifact is produced. It does not, however, draw a line against the sibling `render_video`, leaving an agent to guess which of the two render paths applies.

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?

The description spells out the two outcomes and how to proceed from each: a sub-40s render returns "ready" with a videoUrl, while a longer one returns "processing" with an exportId to poll via `get_export_status`. It also states a clear prohibition (do not call export_video again for the same project while processing, since each call charges a new export) and a prerequisite (an active Revid plan).

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