Skip to main content
Glama

Import files

import_files

Import video, audio, and still-image files into the active Premiere Pro project, a bin, or the project root without an import dialog; validates file paths and supported extensions before adding items.

Instructions

Import video, audio and still-image files into the active project, into a bin or the project root, without an import dialog. Every path must exist, be a non-empty file and have an extension on the supported list (mp4, mov, m4v, mxf, avi, mpg, mts, wmv, r3d, wav, mp3, aif, m4a, aac, png, jpg, tif, bmp, gif, tga, exr, dpx and similar); otherwise nothing is imported and the call fails (FILE_NOT_FOUND, or UNSUPPORTED with the list), because Premiere would stop on a modal error dialog. A file with a valid extension but unreadable content still opens that dialog. Returns the created project items (item_id, name, kind, path, media_path), the target bin and any import failures. Use import_image_sequence for a numbered still sequence, import_folder for a whole folder.

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": {
      "paths": "<paths>"
    },
    "name": "import_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesAbsolute paths of the files to import, 1-500. Folders are refused (use import_folder).
bin_idNoStable id of the bin. Omit all bin_* arguments to use the project root.
bin_nameNoBin name; the first match is used.
bin_pathNoBin path, e.g. "Footage/Day 1".
numbered_stillsNoTreat each file as the first frame of a numbered still sequence and import each sequence as one clip. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, destructive=false, idempotent=false) by disclosing all-or-nothing semantics ('nothing is imported and the call fails'), the specific error codes FILE_NOT_FOUND and UNSUPPORTED, the underlying reason (Premiere would halt on a modal dialog), and the caveat that a valid extension with unreadable content still triggers that dialog. It also describes the return payload, which no output schema provides.

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?

Purpose and scope are front-loaded in the opening clause and every sentence carries operative information. The long extension enumeration and the chained because-clause make the middle dense, but the detail is functionally necessary rather than filler.

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 five-parameter mutation with no output schema, the description covers destination handling, validation rules, failure modes, error codes, and return fields, plus routing to siblings. An agent has everything needed to invoke it correctly and interpret the result.

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 100%, so baseline is 3. The description reinforces the paths constraint (must exist, non-empty, supported extension) but adds nothing about how bin_id, bin_name and bin_path interact or precedence when several are supplied, and numbered_stills is only covered indirectly through the sibling reference.

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 (import video/audio/still-image files into the active project) plus the destination scope (bin or project root) and the distinguishing mode (no import dialog). It explicitly names the two siblings that cover adjacent cases, so an agent can route correctly without opening a 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?

Names alternatives for numbered stills (import_image_sequence) and folders (import_folder), and gives the failure condition that should steer an agent away from bad inputs. It leaves one ambiguity unresolved: the numbered_stills parameter performs sequence import here while the description says to use import_image_sequence for sequences, and no guidance distinguishes the two.

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