Skip to main content
Glama

set_work_area_to_selection

Sets the composition work area to span the in and out points of selected layers, aligning playback and render range with that selection.

Instructions

Set comp work area to span the in/out points of the currently selected layers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_work_area_to_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComp: 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

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden and does disclose the core mutation: the work area is derived from selected layers' in/out points. However, it omits important behavior such as what happens with no selection, whether the active comp is modified by default, and whether the change is undoable or returns anything.

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?

The definition is a single, front-loaded sentence with no redundant wording. Every part of the sentence contributes to identifying the operation and its data source.

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?

The tool is a moderate mutation whose behavior depends on selection state, but the description leaves out edge cases and preconditions. Given the rich parameter schema, it is adequate as a minimum description but not complete for reliable invocation.

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 the schema already explains the comp and instance parameters in detail. The description does not add syntax or meaning beyond that baseline; it only refers to the comp work area and current selection.

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 states a specific verb and resource: set the comp work area to span selected layers' in/out points. This clearly distinguishes it in practice from set_work_area and trim_to_work_area, but it does not explicitly name those alternatives or clarify the boundary.

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 phrase 'currently selected layers' implies the tool should be used when layer selection exists, but there is no explicit when-not guidance, no alternative routing to set_work_area for explicit ranges, and no handling guidance for empty or multi-layer selections.

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