Skip to main content
Glama

import-file

Import PSD, AI, or footage files into an After Effects project, optionally as a layered composition with cropped layers.

Instructions

Import a file into the After Effects project (PSD/AI as layered composition with cropped layers, or as footage).

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
asCompositionNoImport layered files (PSD/AI) as a composition with cropped layers (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose the concrete effect of the operation (creates a layered composition with cropped layers, or imports as footage), which is useful. However, it is silent on whether an existing item is replaced or duplicated when 'name' collides, whether the import is undoable, what permissions or project state are required, and whether the call blocks on large files.

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?

One sentence, front-loaded with the action and elaborated only where it matters (the PSD/AI special case). The parenthetical is dense but every clause carries information. Slight deduction for packing the main behavior into a trailing parenthetical rather than a clearly separated clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation tool with no annotations and no output schema, the definition covers the core behavior but not the surrounding contract: no indication of what is returned (item id/name/index), how failures surface for bad paths or unsupported formats, or what happens on name collisions. Adequate but with clear gaps an agent would likely hit.

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 three parameters (name, path, asComposition) are already documented with defaults. The description restates the asComposition behavior rather than adding new meaning, such as accepted file types beyond PSD/AI or how the name interacts with existing item names. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Import a file into the After Effects project') plus the two import outcomes: layered composition with cropped layers for PSD/AI, or footage. That is much clearer than the bare tool name. It does not contrast with any sibling, but none of the listed siblings appear to import files, so the distinction is largely unnecessary.

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?

Usage is only implied: the agent can infer this is the tool for bringing external files into the project, and the parenthetical hints at which mode applies to layered files. There is no explicit guidance on when to use it versus alternatives, on prerequisites (an open project, a valid path), or on when to prefer footage over composition import.

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