Skip to main content
Glama

trim_to_work_area

Trim a composition's duration to its work area and shift layers so the work-area start aligns with time 0.

Instructions

Trim the comp duration to its work area, shifting layers so work-area start becomes time 0.

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": "trim_to_work_area"
  }
}

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

B3.3/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 disclosure burden. It does reveal the mutation (comp duration shortened, layers shifted so work-area start becomes 0), which is the key behavioral fact. But it says nothing about what happens to content that falls outside the new duration — whether material before/after the work area is discarded, whether keyframes and markers move with layers, or whether the operation is undoable. For an irreversible-looking edit with zero annotation coverage, that is a real gap.

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 action and followed immediately by the side effect. Nothing superfluous and no reordering would improve it.

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, well-documented-schema tool with no output schema, the core action is covered. What is missing is the prerequisite state (a work area must exist) and the fate of content outside the work area, which matter for calling this safely.

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%, including the string-or-{id} comp addressing and the instance targeting guidance, so the schema does the heavy lifting. The description adds nothing about either parameter, which is acceptable at full coverage but is only baseline value.

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?

States a specific verb (trim) and resource (comp duration) plus the concrete effect: duration is cut to the work area and layers are shifted so work-area start becomes time 0. An agent can tell exactly what changes. It does not differentiate itself from neighbors like set_work_area or set_work_area_to_selection, so it stops short of a 5.

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 description makes clear a work area must already exist for this to be meaningful, but it never says so explicitly, nor when to prefer this over setting a new work area first. No exclusions or alternatives are named.

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