Skip to main content
Glama

Import markers from a file

import_markers

Create sequence markers from CSV, JSON, or chapter text files with parsed times and skipped-row reporting for Premiere Pro timelines.

Instructions

Create sequence markers from a file. CSV: a header row with a time column (time, start, in or timecode) and any of name, duration, end/out, comment/description, type, color, url, frame_target; comma, semicolon or tab separated, including Premiere Pro's own marker export. JSON: an array of marker objects or {markers: [...]} as written by export_markers. A .txt chapter list ("0:00 Title" lines) becomes chapter markers. Times are seconds, M:SS, H:MM:SS or HH:MM:SS:FF timecode. At most 2000 markers per file. Returns imported, the new markers, skipped rows with reasons and warnings. dry_run=true only parses the file.

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": {
      "file_path": "<file_path>"
    },
    "name": "import_markers"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo"csv", "json" or "youtube". Default: from the extension (.csv/.tsv, .json, .txt = youtube chapter list).
dry_runNoParse the file and return what would be created without adding markers. Default false.
file_pathYesFile to read. Absolute path.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
time_offsetNoSeconds added to every imported marker time (negative = earlier). Default 0.
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds real context beyond them: a hard cap of 2000 markers per file, the exact return payload (imported, new markers, skipped rows with reasons, warnings), and the dry_run parse-only preflight. It doesn't say what happens to pre-existing markers on the sequence or whether a failed row aborts the whole import, which keeps it from a 5.

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, then organized by format, then by time syntax, limits, and return value — a logical reading order with no filler. The format enumeration is dense but each clause carries distinct information an agent would otherwise have to guess.

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?

For a file-parsing import tool with no output schema, the description covers accepted formats, field names, delimiters, time encodings, size limits, dry-run behavior, and the exact return structure. Nothing an agent needs in order 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still adds value by explaining that format is inferred from the extension and that .txt maps to a YouTube-style chapter list, plus the accepted time syntaxes (seconds, M:SS, H:MM:SS, HH:MM:SS:FF). It doesn't elaborate on time_offset or sequence_id, but those are already well documented in the schema.

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 ('Create sequence markers') plus the source ('from a file'), and explicitly names export_markers as the writer of the JSON format it consumes. An agent can distinguish it from add_markers or import_captions_file 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 Guidelines4/5

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

Gives clear context for when this is the right tool: when the markers already exist in a CSV/JSON/chapter file, including Premiere's own export and round-tripping from export_markers. It does not explicitly exclude alternatives such as add_markers or add_markers_at_interval, so it stops short of full when-not guidance.

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

Deploy Server

Other Tools