Skip to main content
Glama

mcp_opendaw_set_note_cents

Set precise cent offsets on MIDI notes to create microtonal scales, just intonation, detuned effects, and more. Supports targeting by pitch, beat, scale degree, or alternating patterns.

Instructions

Set detune (cents) on notes — deterministic microtonal pitch control.

Unlike humanize_pitch (random cents), this tool applies SPECIFIC cent offsets to targeted notes. This enables:

  • Piano honky-tonk: detune alternate notes by +8/-8 cents

  • Quarter-tone scales: +50 cents on selected pitches

  • Sympathetic resonance: subtle +3 cents on sustained notes

  • Just intonation corrections: -2 cents on major thirds, +14 on fifths

  • Arabic maqam: quarter tones between semitones

  • Synth drift: gradual cent increase across a sequence

  • Chorus effect (MIDI): duplicate track detuned +7 cents

Modes:

  • "all": Apply to all notes in the region(s)

  • "pitch": Apply only to notes matching target_pitch (e.g. "60" or "C4")

  • "beats": Apply at specific beat positions (comma-separated, e.g. "0,4,8")

  • "indices": Apply to specific note indices (comma-separated, e.g. "0,2,4")

  • "alternating": Alternate +cents and -cents on consecutive notes

  • "gradient": Linearly increase cents from 0 to target across all notes

  • "scale_degree": Apply to notes on specific scale degrees (requires scale + root_note + target_pitch as degree numbers)

Args: unit_index: AU index (-1 = all AUs). track_index: Note track index (-1 = all note tracks). region_index: Region index (-1 = all regions on track). cents: Cent offset to apply (-100 to +100). 100 cents = 1 semitone. mode: Targeting mode (see above). target_pitch: For "pitch" mode: MIDI note number (e.g. "60") or note name (e.g. "C4"). For "scale_degree" mode: comma-separated degree numbers (e.g. "3,7" = apply to 3rd and 7th degrees). beat_positions: For "beats" mode: comma-separated beat positions. note_indices: For "indices" mode: comma-separated note indices. direction: "up" (positive cents) or "down" (negative cents). For alternating mode, this sets the first note's direction. scale: For "scale_degree" mode: scale name (major, minor, dorian, etc.). root_note: For "scale_degree" mode: root note name.

Returns notes modified, per-mode details, and average cents applied.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoall
centsNo
scaleNo
directionNoup
root_noteNoC
unit_indexNo
track_indexNo
note_indicesNo
region_indexNo
target_pitchNo
beat_positionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, and it does so well: it states determinism, mode-specific behaviors (e.g., 'alternating' alternates +cents/-cents, 'gradient' linearly increases cents), the meaning of 'direction', and the return shape ('notes modified, per-mode details, and average cents applied'). The only gap is that it does not mention reversibility/undo implications or any preconditions for this mutation tool, which would be the natural next addition.

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 long but well-structured and justified: a front-loaded one-line summary, an alternative contrast, organized use-case bullets, clearly separated Modes and Args sections, and a return statement. Every section adds necessary value given the tool's complexity and zero schema coverage; it earns its length without being padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given this tool's high complexity (11 parameters, 7 targeting modes, conditional parameter dependencies) and complete absence of annotations and schema descriptions, the description is remarkably complete. It covers purpose, alternatives, use cases, every parameter, every mode's behavior, direction semantics, and expected return content. Nothing essential is left unexplained for an agent to select and invoke this tool correctly.

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?

Schema description coverage is 0%, so the description must fully compensate, and it does. All 11 parameters receive meaningful explanations with ranges ('-100 to +100'), defaults via schema, and examples ('0,4,8', '60 or C4', '3,7'). The mode-specific semantics of target_pitch, direction, and scale_degree are clarified beyond what the schema titles alone could ever convey.

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 'Set detune (cents) on notes — deterministic microtonal pitch control,' which states a specific verb, resource, and behavior. It explicitly distinguishes itself from sibling humanize_pitch by contrasting deterministic specific offsets with random cents, making selection unambiguous.

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 and contrasts the sibling tool humanize_pitch ('Unlike humanize_pitch (random cents)'), providing a clear when-not-to-use signal. It also gives seven specific musical use cases (honky-tonk, quarter-tone scales, maqam, etc.) that illustrate exactly when this tool is appropriate.

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