Skip to main content
Glama

export_otio

DestructiveIdempotent

Exports a DUP Presenter deck to a standard OpenTimelineIO (.otio) JSON timeline for DaVinci Resolve, Adobe Premiere Pro, Kdenlive, or Final Cut NLE workflows.

Instructions

Export a DUP Presenter deck to a standard OpenTimelineIO (.otio) JSON timeline for DaVinci Resolve, Adobe Premiere Pro, Kdenlive, or Final Cut NLE workflows. Includes V1 slide clips (linked to out/.mp4 when rendered), SMPTE_Dissolve transitions, color-coded chapter markers, A1 narration WAV clips, and optional A2 music/ambient bed. Uses frame-exact timing from src/generated/deck_resolved.json ONLY when it matches this deck; otherwise reports timing_source='estimated' (or fails closed when require_resolved=true). Refuses to overwrite an existing .otio file unless overwrite=true.

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": {
      "deck": "<deck>"
    },
    "name": "export_otio"
  }
}

Input Schema

NameRequiredDescriptionDefault
outNoOptional output path ending in .otio (default: out/<slug>.otio)
deckYesPath to the deck JSON file inside decks/ (e.g. decks/dup-protocol.json)
overwriteNoAllow replacing an existing .otio file (default false refuses)
include_musicNoInclude A2 music/ambient track when present (default true)
require_resolvedNoWhen true, fail closed unless src/generated/deck_resolved.json matches this exact deck

Output Schema

NameRequiredDescriptionDefault
okYes
fpsYes
pathYes
slugYes
bytesYes
tracksYes
markersYes
audio_clipsYes
video_clipsYes
total_framesYes
timing_sourceYes
total_secondsYes
rendered_mp4_linkedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.13

TDQS

A4.4/5.0
Behavior5/5

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

Annotations declare destructiveHint=true with no explanation, and the description supplies it: it refuses to overwrite an existing .otio unless overwrite=true. It further discloses a non-obvious failure/precision mode the annotations never mention — frame-exact timing is used only when deck_resolved.json matches the deck, otherwise timing_source='estimated' or a fail-closed error when require_resolved=true.

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?

The opening sentence front-loads purpose and target consumers, and subsequent sentences add failure modes rather than fluff. It is dense — several long comma-separated clauses enumerate timeline contents — but nothing is redundant with the schema or annotations.

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 full schema coverage, an output schema, and rich annotations, the description fills the remaining gaps: what the timeline contains, where timing comes from, and when the call fails or refuses. An agent has everything needed to invoke it correctly and to anticipate the 'estimated' vs frame-exact outcome.

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%, including defaults and the exact meaning of require_resolved, so the schema already carries the parameter burden. The description restates overwrite refusal and the resolved-file matching rule, adding only light emphasis rather than new per-parameter semantics (e.g., no guidance on choosing `out` paths or slug derivation).

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 (Export) and a precisely bounded resource (DUP Presenter deck to a standard OpenTimelineIO .otio JSON timeline), and enumerates the consuming NLEs (Resolve, Premiere, Kdenlive, Final Cut). It also names the concrete payload the file contains (V1 slide clips, SMPTE_Dissolve transitions, chapter markers, A1 narration, A2 bed), which is enough to distinguish it from render_deck or build_publish_pack without opening 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The target workflows are stated explicitly ('DaVinci Resolve, Adobe Premiere Pro, Kdenlive, or Final Cut NLE workflows'), and the conditional behaviors (require_resolved fail-closed, overwrite refusal) tell the agent what preconditions matter. It stops short of naming a sibling to use instead when the goal is a plain render or publish pack, so there is no explicit exclusion clause.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.