Skip to main content
Glama

Import a folder of media

import_folder

Import all eligible media files from a disk folder into a Premiere Pro bin or project root, filtering by extension and optionally including subfolders.

Instructions

Import every media file in a folder on disk into a bin or the project root. The server lists the folder, keeps non-empty, non-hidden files whose extension is in the filter (default: the formats import_files accepts) and imports them in natural name order. Sub-folders are included only with recursive=true; the folder structure is not recreated as bins. An empty result (found=0) is not an error. Returns the number found and imported, the created project items, truncated, and how many files the filter skipped with up to 20 examples.

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": {
      "folder": "<folder>"
    },
    "name": "import_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
bin_idNoStable id of the bin. Omit all bin_* arguments to use the project root.
folderYesFolder to import from. Absolute path.
bin_nameNoBin name; the first match is used.
bin_pathNoBin path, e.g. "Footage/Day 1".
max_filesNoMaximum files imported, 1-500. Default 200. Further files are left out and truncated=true.
recursiveNoAlso import from sub-folders. Default false.
extensionsNoFile extensions to import, case-insensitive, with or without the dot, e.g. ["mp4", "wav"]. Default: every extension import_files accepts; an extension outside that set makes the import fail with UNSUPPORTED.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered by structured data. The description adds real behavioral detail beyond that – hidden/empty file skipping, natural name ordering, no bin recreation of folder structure, and empty results not being errors – but does not cover idempotency/overwrite behavior for re-imports, which the non-idempotent annotation implies but never explains.

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 and destination, then filtering/recursion behavior, then the return contract. Every sentence carries information an agent needs and none repeats the title 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?

For a 7-parameter mutation tool with no output schema, the description supplies the missing return contract (found/imported counts, created items, truncation, skipped-file examples) as well as filtering and recursion semantics. Nothing material for correct invocation is absent.

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 schema carries parameter basics, but the description adds meaning beyond it: recursive only pulls sub-folders without recreating the hierarchy as bins, and max_files overrun yields truncation in the result. These are behavioral consequences of parameters that the schema text does not state.

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 every media file in a folder on disk") plus the destination scope ("a bin or the project root"), which distinguishes it from the per-file sibling import_files. An agent can tell what it does and at what granularity 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?

Conveys when this applies (whole-folder import, opt-in recursion, extension filtering) and implicitly contrasts with import_files by referencing its accepted formats. It does not state an explicit exclusion or name import_files as the alternative for individual files, so guidance is clear but not fully routing.

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