Skip to main content
Glama

set_in_out

Set a layer's in and out points by seconds or frames to define exact start and end timing in an After Effects comp.

Instructions

Set a layer's in/out points. Either time (seconds) or frame for each.

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": {
      "layer": "<layer>"
    },
    "name": "set_in_out"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
layerYesLayer: name (string), 1-based index (integer), or { id: N } for duplicate-name-safe stable-id addressing.
inTimeNo
inFrameNo
outTimeNo
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.
outFrameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not state whether trimming a layer destroys or hides keyframes outside the range, whether the change is undoable, or what happens if out precedes in — all material for a mutation tool.

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?

Two sentences, front-loaded with the action, no filler. The second sentence is terse but it earns its place by implying the dual input modes; it borders on too compressed to be fully useful.

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

Completeness2/5

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

This is a 7-parameter mutation tool with no annotations, no output schema, and only 43% schema coverage, yet the description addresses at most two of the parameters. It should explain the required/precedence rules between time and frame inputs given how much the schema leaves open.

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 43%, and the description only clarifies the inTime/outTime (seconds) versus inFrame/outFrame (frames) duality. It does not say whether the time and frame variants are mutually exclusive, whether omitted values are preserved, or why comp/instance exist beyond the schema text.

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 uses a specific verb and resource: 'Set a layer's in/out points.' That is unambiguous, but it does not differentiate this tool from proximity siblings like set_work_area or set_time, so the agent must infer scope from the name alone.

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?

'Either time (seconds) or frame for each' hints at the two input modes, but there is no when-to-use guidance, no statement of what happens when in/out are omitted (only 'layer' is required), and no mention of interactions with keyframes or comp work area. The agent is left to guess the calling conditions.

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