Skip to main content
Glama

mcp_opendaw_create_phase_shift

Generate a phase-shifted duplicate of a region that drifts incrementally each bar, creating Steve Reich-style phasing patterns. Specify shift per bar, number of bars, and direction.

Instructions

Create a phase-shifted copy of a region — Steve Reich phasing.

Copies the source phrase and places it on a parallel track (or cross-track) with a gradually accumulating time offset. Each bar, the copy shifts by shift_per_bar beats, creating the classic "slipping" phase pattern of minimalism.

Steve Reich's "It's Gonna Rain", "Piano Phase", and "Clapping Music" use this technique. Also the foundation of techno loop phasing, ambient drift, and IDM polyrhythmic evolution.

Unlike displace_rhythm (single fixed offset), phase_shift creates a SECOND copy that drifts further each bar — the two streams start in unison and gradually separate.

Args: unit_index: Audio unit index track_index: Note track index with source phrase region_index: Region index (-1 = first region) shift_per_bar: Time shift per bar in beats (0.03125-0.5, default 0.0625 = 1/16 note per bar). Smaller = slower drift, larger = faster separation. bars: Number of bars to generate (2-16, default 8). Each bar is one repeat of the source phrase with cumulative offset. direction: Phase drift direction — "forward": copy moves later each bar (lags behind) "backward": copy moves earlier each bar (anticipates) cross_track: If >= 0, place the phased copy on this track. If -1 (default), creates a new track on the same AU for the copy. Recommended: use cross_track for explicit control. velocity_scale: Velocity multiplier for the phased copy (0.1-1.0, default 0.85 — slightly softer to distinguish from the original).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barsNo
directionNoforward
unit_indexYes
cross_trackNo
track_indexYes
region_indexNo
shift_per_barNo
velocity_scaleNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that the tool copies the source phrase, places it on a parallel or cross-track, and how shift_per_bar, bars, direction, and velocity_scale affect the result. It does not cover edge cases like pre-existing content on the destination track, but it is otherwise quite transparent.

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 well-structured: a one-line summary, an explanatory paragraph, a sibling comparison, and a detailed Args section. While the historical/genre references add length, they serve to clarify the intended musical use, so no part is wasted.

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?

The tool is complex (8 parameters) with no annotations, but the description thoroughly covers the operation, parameter effects, and placement behavior. An output schema exists, so return-value details are handled separately; the description could mention prerequisites or error behavior, but it's largely complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All 8 parameters are described in detail despite the schema having 0% description coverage. Each parameter gets a meaning, and shift_per_bar, bars, direction, cross_track, and velocity_scale include ranges, defaults, or recommendations.

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 'Create a phase-shifted copy of a region' – a specific verb and resource. It clearly explains the accumulating time offset and explicitly contrasts with displace_rhythm, distinguishing the tool from its sibling.

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 displace_rhythm as an alternative and explains that phase_shift creates a second copy that drifts further each bar, unlike the single fixed offset of displace_rhythm. It also provides musical context (Steve Reich, techno) and recommends using cross_track for explicit control.

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/ameobius-ai/opendaw-mcp'

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