Skip to main content
Glama

Export timeline

export.timeline
DestructiveIdempotent

Write the edit for another editor: fcpxml (Final Cut Pro, DaVinci Resolve), otio (Premiere, Resolve, OpenTimelineIO apps), edl (CMX 3600, one video track), or srt/vtt (the captions). Best effort: warnings lists what the format could not carry (masks, blend modes, effects, animated transforms, ramps, text styling). timeline.get is the lossless copy. media reference (default) points at the media where this server keeps it, which another machine cannot open and which goes 7 days after last use (the result warns); media collect makes a .zip with the media files next to the timeline file, to hand the edit on. Long-running: a task, or {job_id} for job.get; the result has a signed download URL.

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": {
      "timeline_id": "<timeline_id>",
      "format": "<format>"
    },
    "name": "export.timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
mediaNoreference: point at the media where it is; collect: a .zip with the media in itreference
formatYesfcpxml: Final Cut Pro, Resolve; otio: Premiere, Resolve, any OTIO app; edl: CMX 3600; srt/vtt: captions
filenameNoOutput file name without extension. Default: timeline name and id
overwriteNo
timeline_idYesTimeline handle; every edit returns a new one
idempotency_keyNo

Output Schema

NameRequiredDescriptionDefault
hintYes
job_idYesJob handle; the same value is the MCP task id
resultNoThe result, when status is completed; otherwise job.get gives it once completed
statusYes
media_idNoThe media it is making: an import is usable in edits once its status is processing, a created media once this job completes
status_uriYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / result / properties / expiry
      Added value: +{
      +  "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it",
      +  "type": "string"
      +}
    • addedOutput schema / properties / result / properties / kept_until
      Added value: +{
      +  "description": "When the server deletes it: 7 days after the export finished",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • removedOutput schema / anyOf
      Removed value: -[
      -  {
      -    "properties": {
      -      "bytes": {
      -        "type": "number"
      -      },
      -      "expires_at": {
      -        "type": "string"
      -      },
      -      "file": {
      -        "description": "Where it was written in the exports folder (local mode)",
      -        "type": "string"
      -      },
      -      "format": {
      -        "type": "string"
      -      },
      -      "media": {
      -        "description": "Media files referenced (or collected)",
      -        "type": "number"
      -      },
      -      "mime_type": {
      -        "type": "string"
      -      },
      -      "uri": {
      -        "description": "MCP resource for the output",
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Signed download URL",
      -        "type": "string"
      -      },
      -      "warnings": {
      -        "description": "What the format could not carry",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "url",
      -      "expires_at",
      -      "uri",
      -      "bytes",
      -      "format",
      -      "mime_type",
      -      "media",
      -      "warnings"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "hint": {
      -        "type": "string"
      -      },
      -      "job_id": {
      -        "description": "Job handle; the same value is the MCP task id",
      -        "pattern": "^j_[0-9a-z]{26}$",
      -        "type": "string"
      -      },
      -      "media_id": {
      -        "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes",
      -        "pattern": "^m_[0-9a-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "working",
      -          "completed",
      -          "failed",
      -          "cancelled"
      -        ],
      -        "type": "string"
      -      },
      -      "status_uri": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "job_id",
      -      "status",
      -      "status_uri",
      -      "hint"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / properties
      Added value: +{
      +  "hint": {
      +    "type": "string"
      +  },
      +  "job_id": {
      +    "description": "Job handle; the same value is the MCP task id",
      +    "pattern": "^j_[0-9a-z]{26}$",
      +    "type": "string"
      +  },
      +  "media_id": {
      +    "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes",
      +    "pattern": "^m_[0-9a-z]{26}$",
      +    "type": "string"
      +  },
      +  "result": {
      +    "description": "The result, when status is completed; otherwise job.get gives it once completed",
      +    "properties": {
      +      "bytes": {
      +        "type": "number"
      +      },
      +      "expires_at": {
      +        "type": "string"
      +      },
      +      "file": {
      +        "description": "Where it was written in the exports folder (local mode)",
      +        "type": "string"
      +      },
      +      "format": {
      +        "type": "string"
      +      },
      +      "media": {
      +        "description": "Media files referenced (or collected)",
      +        "type": "number"
      +      },
      +      "mime_type": {
      +        "type": "string"
      +      },
      +      "uri": {
      +        "description": "MCP resource for the output",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Signed download URL",
      +        "type": "string"
      +      },
      +      "warnings": {
      +        "description": "What the format could not carry",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "url",
      +      "expires_at",
      +      "uri",
      +      "bytes",
      +      "format",
      +      "mime_type",
      +      "media",
      +      "warnings"
      +    ],
      +    "type": "object"
      +  },
      +  "status": {
      +    "enum": [
      +      "working",
      +      "completed",
      +      "failed",
      +      "cancelled"
      +    ],
      +    "type": "string"
      +  },
      +  "status_uri": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "job_id",
      +  "status",
      +  "status_uri",
      +  "hint"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "bytes": {
      -        "type": "number"
      -      },
      -      "expires_at": {
      -        "type": "string"
      -      },
      -      "file": {
      -        "description": "Where it was written in the exports folder (local mode)",
      -        "type": "string"
      -      },
      -      "format": {
      -        "type": "string"
      -      },
      -      "media": {
      -        "description": "Media files referenced (or collected)",
      -        "type": "number"
      -      },
      -      "mime_type": {
      -        "type": "string"
      -      },
      -      "uri": {
      -        "description": "MCP resource for the output",
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Signed download URL",
      -        "type": "string"
      -      },
      -      "warnings": {
      -        "description": "What the format could not carry",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "url",
      -      "expires_at",
      -      "uri",
      -      "bytes",
      -      "format",
      -      "mime_type",
      -      "media",
      -      "warnings"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "hint": {
      -        "type": "string"
      -      },
      -      "job_id": {
      -        "description": "Job handle; the same value is the MCP task id",
      -        "pattern": "^j_[0-9a-z]{26}$",
      -        "type": "string"
      -      },
      -      "media_id": {
      -        "description": "The media it is making; usable in edits once processing",
      -        "pattern": "^m_[0-9a-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "working",
      -          "completed",
      -          "failed",
      -          "cancelled"
      -        ],
      -        "type": "string"
      -      },
      -      "status_uri": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "job_id",
      -      "status",
      -      "status_uri",
      -      "hint"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "bytes": {
      +        "type": "number"
      +      },
      +      "expires_at": {
      +        "type": "string"
      +      },
      +      "file": {
      +        "description": "Where it was written in the exports folder (local mode)",
      +        "type": "string"
      +      },
      +      "format": {
      +        "type": "string"
      +      },
      +      "media": {
      +        "description": "Media files referenced (or collected)",
      +        "type": "number"
      +      },
      +      "mime_type": {
      +        "type": "string"
      +      },
      +      "uri": {
      +        "description": "MCP resource for the output",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Signed download URL",
      +        "type": "string"
      +      },
      +      "warnings": {
      +        "description": "What the format could not carry",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "url",
      +      "expires_at",
      +      "uri",
      +      "bytes",
      +      "format",
      +      "mime_type",
      +      "media",
      +      "warnings"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "hint": {
      +        "type": "string"
      +      },
      +      "job_id": {
      +        "description": "Job handle; the same value is the MCP task id",
      +        "pattern": "^j_[0-9a-z]{26}$",
      +        "type": "string"
      +      },
      +      "media_id": {
      +        "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes",
      +        "pattern": "^m_[0-9a-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "working",
      +          "completed",
      +          "failed",
      +          "cancelled"
      +        ],
      +        "type": "string"
      +      },
      +      "status_uri": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "job_id",
      +      "status",
      +      "status_uri",
      +      "hint"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations it discloses the best-effort nature of the conversion (what the warnings list: masks, blend modes, effects, animated transforms, ramps, text styling), the 7-day retention of referenced media, the async task/job_id pattern, and the signed download URL. Annotations already flag destructiveHint=true and idempotentHint=true, but the description never explains overwrite semantics or why the call is destructive, leaving that one area undocumented.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and format list, then layered with lossiness, media handling, and async behavior in a logical order. It is dense for a single paragraph and the parenthetical app lists run long, but nearly every clause carries actionable information and there is 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?

For a high-complexity, long-running export with an output schema, the description covers lossiness, warnings, media lifecycle, polling, and the download URL, which is most of what an agent needs. The gap is the mutation surface: overwrite behavior and the meaning of idempotency_key are unmentioned despite destructiveHint=true.

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 coverage is 67% and both enums are already described in the schema, so the description's format/media explanations largely restate them, though the added portability and expiry context for media=reference is genuinely useful. filename, overwrite, and idempotency_key receive no treatment in the description, so the uncovered remainder is not compensated for. Baseline 3 is appropriate.

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 concrete verb+resource ('Write the edit'), enumerates every supported output format with the applications each targets, and explicitly contrasts itself with timeline.get as 'the lossless copy'. An agent can distinguish it from every sibling without opening the 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 routing is given: use timeline.get when a lossless copy is wanted, hand this tool's output to another editor, choose media=collect when the edit must open on another machine, and poll via job.get for long-running jobs. The reference-vs-collect tradeoff (portability vs. 7-day expiry) is spelled out rather than left to inference.

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.