Skip to main content
Glama

setEffectEnabled

Enable or disable an effect on a layer in After Effects by name or index. Use it to bypass effects temporarily without removing them from the composition.

Instructions

Enable or disable (bypass) an effect on a layer

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enabledYesTrue to enable effect, false to disable/bypass
compNameNoComposition name
layerNameNoLayer name
effectNameNoEffect name
layerIndexNoLayer index (1-based)
effectIndexNoEffect index on layer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully clarifies that disabling means 'bypass' rather than removal, but says nothing about whether the effect must already exist, how the target layer/effect is resolved among the six params, or what happens on an invalid target.

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?

A single tight sentence with zero filler, front-loading the core action. Nothing is wasted.

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?

For a six-parameter mutation tool with no annotations and no output schema, the description is thin. It does not explain how the layer/effect is identified (compName vs layerName vs layerIndex, effectName vs effectIndex), which is the main ambiguity an agent would face.

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 documents all six parameters, and the description only re-states the enabled semantics ('bypass'). Baseline 3 applies when the schema does the heavy lifting.

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 pair (enable/disable) and the exact resource and scope (an effect on a layer). It is distinguishable from siblings like removeEffect and setEffectProperties. It lacks explicit naming of those siblings, so it falls 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 Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as setEffectProperties or removeEffect. Usage is only implied by the verb; the agent gets no routing help.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.