Skip to main content
Glama

Enable/disable effect

toggle_effect

Switch After Effects layer effects on or off, flip their current state, or change every effect on a layer.

Instructions

Switch effect(s) on or off (the fx eye). Omit 'enabled' to flip the current state; omit 'effect' to apply to all effects on the layer.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "layer": "<layer>"
    },
    "name": "toggle_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
layerYesLayer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer.
effectNoEffect(s); omit for all.
enabledNotrue = on, false = off, omitted = toggle.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the toggle semantics and the all-effects scope, but both are duplicated in the schema descriptions rather than adding new behavioral context such as permissions, atomicity, or what happens with mixed-state effects.

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?

Two short sentences, front-loaded with the action, then the pair of default behaviors. Every clause carries information and nothing is redundant padding.

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 4-parameter mutation with no output schema and annotations covering safety, the essential call mechanics are present. However, it never resolves what happens when 'enabled' is omitted while multiple effects with mixed states are targeted — flip each individually, or force a common state — which is the one ambiguity an agent would hit in practice.

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 layer, comp, effect and enabled with full detail. The description only restates the two omitted-parameter defaults, which the schema already spells out ('omitted = toggle', 'omit for all'), adding no new meaning beyond it.

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 ('Switch effect(s) on or off') and anchors it to the domain concept of the fx eye, so an agent can distinguish this state toggle from apply_effect, remove_effect, or set_effect_params. It stops short of naming any sibling explicitly, leaving that separation implicit.

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?

The two default behaviors (omit 'enabled' to flip, omit 'effect' to apply to all) tell the agent exactly how to invoke the tool for the common cases. There is no explicit when-not or named alternative, but the usage context is clear enough to act on.

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