Skip to main content
Glama

set_active_comp

Opens a specified composition in the After Effects viewer and sets it as the active comp; accepts a name or stable ID to target the right comp.

Instructions

Open a comp in the viewer (sets the active comp).

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": {
      "comp": "<comp>"
    },
    "name": "set_active_comp"
  }
}

Input Schema

NameRequiredDescriptionDefault
compYesComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the key behavioral trait: this is a state-changing operation that alters which comp is active. It says nothing about failure modes (unknown comp name or id), whether the action is undoable, or what is returned on success. Useful but incomplete for an unannotated mutation.

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?

One sentence, front-loaded with the primary action and followed by a parenthetical that explains the resulting state change. There is no redundant or filler wording, and nothing important is buried.

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 two-parameter navigation tool with full schema coverage and no output schema, the description covers the essential action and its side effect. However, with no annotations and no return-value documentation, it omits what happens on an unknown comp or what the caller gets back, which an agent needs in order to sequence subsequent calls confidently.

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 both the 'comp' polymorphic address (string name or {id:N}) and the 'instance' targeting parameter are already fully documented in the schema. The description adds no additional meaning about parameter formats, matching rules, or defaults beyond that. Baseline 3 applies.

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 ('Open a comp in the viewer') and clarifies the side effect in parentheses ('sets the active comp'). An agent can immediately tell this is a viewer/navigation action rather than a property mutation, which distinguishes it from the surrounding set_* tools. It stops short of 5 only because it doesn't contrast itself with any related navigation behavior.

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

Usage Guidelines2/5

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

The description never states when to call this versus not calling it, nor any prerequisite such as the comp needing to exist or be currently loaded. The only implicit cue is the verb 'open', leaving the agent to infer that this is how you make a comp the implicit target for other tools. That inference is plausible but not written down.

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