Skip to main content
Glama

Trim comp to work area

trim_comp_to_work_area

Trims a composition to its work area, moving layers and comp markers earlier so the work area start becomes time 0 while handling locked layers.

Instructions

Like Composition > Trim Comp to Work Area: the comp duration becomes the work area length and all layers (and comp markers) shift earlier so the work area start becomes time 0. Locked layers are handled.

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_comp_to_work_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
shiftMarkersNoAlso shift comp markers (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=false, destructiveHint=false; the description adds real substance beyond that by spelling out the mutation mechanism (duration change plus layer and marker time shift) and that markers move by default. The phrase 'Locked layers are handled' is vague — it does not say whether locked layers are shifted, skipped, or unlocked — which is the one behavioral detail an agent cannot infer.

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 dense sentence that front-loads the authoritative in-app menu equivalent, then the effect, then the edge case. No filler, no restatement of the title, and the analogy does most of the explanatory work efficiently.

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

Completeness4/5

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

For a two-optional-parameter mutation with no output schema and annotations covering the safety profile, the description is nearly complete: effect, both target types (layers, markers), and default behavior are all covered. The remaining gaps are the ambiguous locked-layer handling and no statement of what, if anything, is returned or how layers outside the work area are affected.

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 parameters (comp, shiftMarkers) are already documented with names, types, and the 'omit to use active comp' default. The description only echoes the marker-shifting behavior of shiftMarkers and says nothing extra about the comp parameter, so it neither adds nor detracts beyond the schema baseline.

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 and resource and explains the mechanical effect precisely: comp duration becomes work area length, layers and comp markers shift earlier so work area start becomes time 0. An agent can picture the result without opening the schema. It does not explicitly contrast with the sibling trim_layers_to_work_area, which is the one alternative an agent might confuse this with.

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 implied rather than stated: the effect described (work area start becomes 0) implies a work area must already be set, and set_work_area is a sibling that would establish it. There is no explicit when-to-use, no exclusion naming trim_layers_to_work_area, and no precondition callout naming set_work_area as the prerequisite step.

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