Skip to main content
Glama

layer_followPath

Attach or detach a layer to a VectorLayer curve, set keyframeable position progress, and optionally bend the layer along the path using Moho Alt-bend.

Instructions

Attach/detach a layer along a VectorLayer curve with optional Alt-bend (bendLayer) and keyframeable percent progress.

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

Input Schema

NameRequiredDescriptionDefault
holdNoFrames to hold prior value before interpolating
val1NoInterpSetting.val1 (relative cycle delta or noisy/bounce/elastic param)
val2NoInterpSetting.val2 (absolute cycle target frame when >= 0, -1 for relative)
frameNo
detachNoDetach layer from its current path
layerIdNoNumeric depth-first layer ID (from layer_list)
percentNoPosition percentage along curve (0.0 .. 1.0+)
staggerNo
colorTagNoKeyframe color tag index (InterpSetting.tags)
intervalNoStep interval in frames (1 = ones, 2 = twos, 3 = threes)
bendLayerNoDeform layer along the path curve (Moho Alt-bend)
cycleBackNoRelative frame delta for Cycle interpolation (default: frame - 2, loops back to Frame 2)
cycleModeNoCycle targeting mode: 'relative' (val1 delta, val2=-1) or 'absolute' (val2 frame)
layerNameNoExact layer name
layerUuidNoLayer UUID
curveIndexNoZero-based curve index in followLayer (default: 0)
additiveCycleNoEnable additive cycle accumulation
bezierInAngleNoBezier incoming tangent angle (radians, InterpSetting:SetBezierInAngle)
followLayerIdNo
interpolationNo
bezierOutAngleNoBezier outgoing tangent angle (radians, InterpSetting:SetBezierOutAngle)
bezierInPercentNoBezier incoming handle percentage (InterpSetting:SetBezierInPercentage)
followLayerNameNo
bezierOutPercentNoBezier outgoing handle percentage (InterpSetting:SetBezierOutPercentage)
cycleTargetFrameNoTarget loop frame when using Cycle interpolation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.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 mentions optional Alt-bend and keyframeable percent progress, but it omits important mutation behavior such as what detach does to existing path data, how the target path is resolved, and what side effects or prerequisites exist.

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?

The description is a single front-loaded sentence with no wasted wording. It efficiently names the core operation and highlights two notable options.

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?

This is a complex 25-parameter mutation tool with no annotations and no output schema, yet the description is only one sentence. It is not complete enough to explain path resolution, detach behavior, interpolation/cycle semantics, or other details an agent would need for reliable invocation.

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 high at 80%, so the schema already documents most parameters. The description adds meaning for bendLayer and percent, but with 25 parameters it does not explain the many interpolation, cycle, bezier, and path-targeting parameters beyond what the schema provides.

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?

The description states a specific verb and resource: attach/detach a layer along a VectorLayer curve. It is clear what operation is performed, but it does not explicitly distinguish this from siblings such as layer_bindToBone or layer_setWarpLayer.

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 explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The attach/detach operation is implied, but the agent is left to infer when this tool should be selected over other layer-binding or deformation tools.

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