Skip to main content
Glama

center_anchor

Move a layer’s anchor point to a named position—center, edge, or corner—while compensating position and keyframes so the layer doesn’t jump.

Instructions

Move anchor point to a named position on the layer. Compensates position (and all keyframes) so the layer doesn't jump. anchor: "center" (default), "top", "bottom", "left", "right", "top-left", "top-right", "bottom-left", "bottom-right". Use "bottom" for squash-and-stretch on bouncing/landing objects.

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": "center_anchor"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
anchorNocenter
layersNoOne or many layers (each: name, 1-based index, or { id: N }). If omitted, uses currently selected layers.
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

A3.7/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 burden and does the most important part: it discloses that position and all keyframes are compensated so the layer doesn't jump, which is the key non-obvious side effect of an anchor move. It stops short of covering multi-layer edge cases or whether layers without position data are skipped.

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 action and the compensation guarantee, then the anchor values, then a practical tip. It is tight, though the full enumeration of nine anchor strings repeats the schema's enum verbatim and could be trimmed.

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 4-parameter, no-annotation, no-output-schema tool the description covers the core behavior and the one parameter whose semantics matter most, leaving comp/layers/instance to a well-described schema. The minor gap is that it speaks of 'the layer' singular while the schema accepts many layers, without saying whether the anchor is applied to all of them.

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 75%, so the schema already documents comp, layers, and instance addressing. The description adds meaning only for anchor by restating the enum and its default, which largely duplicates the schema's enum and default value rather than adding new semantics.

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: 'Move anchor point to a named position on the layer', plus the non-obvious side effect that position is compensated. It implicitly separates itself from alignment/transform siblings by naming anchor placement as the operation, though it never names an actual alternative tool for comparison.

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?

Offers one concrete use case ('Use "bottom" for squash-and-stretch on bouncing/landing objects') and states the default anchor is center. It gives no when-not guidance, no prerequisites, and does not point to a sibling such as align_layers or a manual transform when this tool is the wrong choice.

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