Skip to main content
Glama

Import file

import_file

Imports one file—footage, image, image sequence, audio, layered PSD/AI comp, or .aep—into an After Effects project and reports missing or unimportable files clearly.

Instructions

Import one file (footage, image, image sequence, audio, layered PSD/AI as comp, or another .aep) into the project. Fails clearly if the file is missing or can't be imported as requested. Returns the main item plus every item created (e.g. the layers folder of a comp import).

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": {
      "path": "<path>"
    },
    "name": "import_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRename the imported item.
pathYesAbsolute file path (for a sequence: any frame of it).
folderNoProject folder to put the imported item(s) in (name/path/id). Omit for the root.
importAsNoHow to import: footage (default for media), comp / comp_cropped_layers (layered PSD/AI as a composition), project (.aep into this project). Fails listing the possible modes if the file can't be imported that way.
sequenceNoImport as an image sequence: path = any frame of a numbered sequence (e.g. shot_0001.png).
forceAlphabeticalNoImage sequence: use alphabetical order instead of numbers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing failure behavior (fails clearly if the file is missing or cannot be imported as requested) and the return payload (main item plus every item created, e.g. the layers folder of a comp import). Annotations already cover the read-only/destructive/open-world profile, so this added contract is the right kind of extra context. It could still say whether the import is undoable or what happens on a partial failure.

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?

Three tight sentences: what it imports first, then failure semantics, then return shape. No filler and no repetition of the title.

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 no output schema, the description correctly compensates by describing the returned items, and the failure behavior covers the main ambiguity for a 6-parameter import tool. Annotations carry the safety profile, leaving nothing essential for an agent to guess before calling.

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%, so all six parameters including the importAs enum and sequence flags are already fully documented in the schema. The description only restates the file-type taxonomy and adds no syntax or defaulting detail beyond it; baseline 3 applies.

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 one file ... into the project") and enumerates the supported media kinds, including the layered PSD/AI-as-comp and .aep cases. The explicit cardinality ("one file") distinguishes it from the plural import_files sibling without the agent needing to open either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The single-file scope implies when this applies versus a bulk import, but no alternative tool is named and no preconditions (project open, disk access) or exclusions are stated. Usage is inferable rather than spelled out.

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