Skip to main content
Glama

Rename effect

rename_effect

Rename an effect instance on a layer so expressions using effect("Name") keep pointing to the intended control.

Instructions

Rename an effect instance on a layer (useful for expression controls: effect("Name")).

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>",
      "effect": "<effect>",
      "newName": "<newName>"
    },
    "name": "rename_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.
effectYesEffect on the layer: 1-based index in the Effects stack, effect name (as renamed), or matchName (e.g. 'ADBE Glo2').
newNameYesNew effect name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare a non-destructive, non-open-world write, so the safety profile is covered. The description adds the meaningful behavioral implication that the new name is the string expressions reference, but says nothing about name collisions, resolution failure, or whether pre-existing expressions using the old name break.

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 the verb-resource front-loaded and the expression-control hint secondary. No filler or redundancy.

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 four-parameter mutation with full schema coverage and no output schema, the description is adequate but thin: it omits error/conflict behavior and confirmation of the result. The schema compensates for parameter detail, but behavioral edge cases are left undocumented.

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 all four parameters (comp, layer, effect, newName) are already fully documented in structured fields, including the index/name/matchName effect addressing modes. The description adds essentially nothing parameter-specific, so the baseline 3 applies.

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+resource ('Rename an effect instance on a layer'), which cleanly separates it from the sibling rename_layer/rename_item tools by naming the effect-instance target. It also explains the practical purpose of the rename via the expression-control reference syntax, but does not explicitly contrast with batch_rename_items or rename_layer.

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?

The parenthetical 'useful for expression controls: effect("Name")' gives an implied usage context, which is more than nothing. However, there is no explicit when-to-use vs. rename_layer/rename_item, no note on using batch_rename_items for multiple effects, and no preconditions stated.

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