Skip to main content
Glama

Create preset morph

create_preset_morph

Capture any operator's animatable parameters into named slots, then blend between them with weight vectors for crossfades and recall.

Instructions

Target-agnostic preset morph engine: snapshot any OP's animatable parameters into N named slots, then blend between them with a weight vector (or a single A↔B recall) through a Lag CHOP + Lookup curve, exposing the live blended values on a Null CHOP for bind_to_channel consumers. Unlike create_look_bank (which is scoped to a control COMP's custom pars with a 2-slot A↔B knob), this drives any OP and supports >2 simultaneous weights (normalized internally). Reuses manage_cue's MORPH_HOOK for beat/bar quantized recall. Note: Lag CHOP does not advance while the timeline is paused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName of the morph container (baseCOMP) created inside parent_path.preset_morph
slotNoSlot name (required for store / recall / delete).
actionNobuild: create the morph container. store: snapshot the target's animatable parameters into a named slot. recall: snap or crossfade the target to one slot. set_weights: drive an N-way weighted blend across all stored slots (vector is clipped to >=0 and normalized). list / delete slots.build
includeNo(store) Restrict the snapshot to these parameter names (tuplet names like 'tx', 'feedback'). Omit to capture every animatable numeric/toggle/menu parameter (pulses, strings, file refs are always skipped).
weightsNo(set_weights) Map of slot-name -> weight. Negatives clipped to 0; the vector is normalized internally (sum -> 1) before lerp. Missing slots default to 0.
quantizeNo(recall) Defer the snap/crossfade to the next musical boundary (project tempo). Mirrors manage_cue / create_look_bank.off
parent_pathNoParent COMP where the morph container is built./project1
target_pathNoThe node whose parameters are snapshotted and driven (required for build/store). Any OP with animatable numeric/toggle/menu pars.
interpolationNoInterpolation curve applied to each parameter when crossfading. linear is a straight lerp; cosine/cubic shape the lagged weights through a Lookup CHOP curve.linear
morph_secondsNo(recall) 0 = snap; >0 = ease to slot over this many seconds via a Lag CHOP on the weight vector. Note: Lag CHOP does not advance while the timeline is paused.
Behavior5/5

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

Beyond the annotations (readOnly=false, destructive=false), the description discloses a rich set of behavioral traits: snapshotting into slots, internal normalization of weights, use of Lag CHOP + Lookup curve, exposure on a Null CHOP for bind_to_channel consumers, and the paused-timeline limitation. This goes far beyond what annotations provide and helps the agent anticipate side effects and constraints.

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?

The description is front-loaded with the core concept and uses four dense sentences that each carry substantive information. It is appropriately sized for the tool's complexity, though it packs many technical terms into a compact space. No filler or redundant phrasing.

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?

Given the tool's complexity (10 params, nested objects, no output schema), the description gives a strong conceptual and architectural overview, including key limitations. However, it does not explicitly state what the tool returns (e.g., path/status), which is a minor completeness gap for an agent expecting to consume the result. Still, the volume of contextual detail is high.

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?

The input schema covers 100% of parameters with detailed inline descriptions, so the baseline is 3. The description adds contextual architecture (Lag CHOP, Lookup curve, Null CHOP) but does not add new per-parameter meanings beyond what the schema already states. It reinforces the overall workflow but doesn't elevate parameter understanding further.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Target-agnostic preset morph engine' and immediately specifies the resource (any OP's animatable parameters), the action (snapshot into N named slots, blend with weight vector or A↔B recall), and the output (exposed on a Null CHOP). It distinctly differentiates from create_look_bank by contrasting scope and weight-count support, making the tool's purpose unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description explicitly names create_look_bank as an alternative and clarifies when this tool is appropriate ('Unlike create_look_bank … this drives any OP and supports >2 simultaneous weights'). It also points to reuse of manage_cue's MORPH_HOOK for quantized recall, and adds a critical caveat about Lag CHOP not advancing while the timeline is paused, effectively giving both when-to-use and when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucasmaher-hash/touch-designer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server