Skip to main content
Glama

set_property_batch

Set a property across many layers or comps in one undo step, applying broadcast or per-target values instead of repeated single-property calls.

Instructions

Set a property across MANY layers (or comps) in ONE undo step. Broadcast form: {comp?, layers, prop, value, time?} applies the same value to every listed layer. Targets form: {targets:[{comp?, layer, prop, value, time?}, ...]} for per-target values. Returns per-target {ok,error}. Use instead of calling set_property N times (stat-card / box-rig work).

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

Input Schema

NameRequiredDescriptionDefault
compNocomp name, id, or { id: N } (broadcast form)
propNoproperty path or matchName (broadcast form)
timeNoseconds; only used if the property is keyframed
valueNovalue to set (number, array, color, etc.)
layersNolayer names/indices (broadcast form)
targetsNoper-target list: [{comp?,layer,prop,value,time?}]
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

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does disclose key behavior: the operation is grouped into ONE undo step, per-target results come back as {ok,error}, and time is ignored unless the property is keyframed. It does not say whether partial failures abort the whole batch or whether the undo step still applies when some targets fail.

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?

Front-loaded with the core purpose, then the two invocation forms, then the return shape and the sibling alternative. The compact object-notation for each form is efficient, though the density of brackets and optional markers makes it slightly harder to read at a glance than plain prose.

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?

Covers the essentials for a 7-parameter batch mutation: mode selection, per-target return values, undo semantics, and the instance targeting hint. The gap is that with zero required parameters, no statement tells the agent that layers or targets must actually be present.

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 coverage is 100%, so baseline is 3. The description does add value the schema lacks by explaining the two mutually exclusive shapes (broadcast {comp?, layers, prop, value, time?} vs targets:[{comp?, layer, prop, value?, time?}]) and by noting time is only meaningful for keyframed properties, but it does not state that one of layers/targets must be supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource plus scope: "Set a property across MANY layers (or comps) in ONE undo step." It then names the sibling it replaces ("Use instead of calling set_property N times"), so an agent can distinguish the batch tool from the singular one without reading any schema.

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

Usage Guidelines4/5

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

Explicitly routes the agent away from repeated set_property calls and gives concrete motivating scenarios (stat-card / box-rig work). The when-not case (a single layer) is only implied by that comparison rather than stated, so there is no explicit exclusion rule.

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