Skip to main content
Glama

mcp_opendaw_replace_from_preset

Replace an audio unit's instrument from a preset, optionally retaining its MIDI/audio effects and timeline. Provides preset-based swapping for compatible instrument types.

Instructions

Replace an audio unit's instrument/effects/timeline from a preset.

Uses PresetDecoder.replaceAudioUnit — swaps the instrument in an existing AU, optionally keeping the target's MIDI effects, audio effects, and/or timeline. The preset must contain a compatible instrument type (MIDI→MIDI, Audio→Audio).

unit_index: Target AU index to replace. preset_b64: Base64 preset bytes from export_preset. keep_midi_effects: If true, keep target's existing MIDI effects. keep_audio_effects: If true, keep target's existing audio effects. keep_timeline: If true, keep target's existing tracks/regions/notes.

Returns success or error with reason.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
preset_b64Yes
unit_indexYes
keep_timelineNo
keep_midi_effectsNo
keep_audio_effectsNo

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. It explains that the tool swaps the instrument, optionally keeping effects/timeline (defaults imply they are not kept), and specifies the compatibility constraint. It also mentions the return type (success or error). This is meaningful behavioral context beyond the schema, though it doesn't discuss reversibility or side effects.

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 concise and well-structured: a purpose statement, a method reference, a compatibility note, a bullet-style parameter list, and a return statement. Every sentence earns its place without redundancy.

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 description covers purpose, parameters, constraints, and return behavior. Given the tool's complexity (5 params, mutation, no annotations) and the presence of an output schema, it is quite complete. It could add guidance on when to use it (covered under usage guidelines) or what happens with invalid presets, but these are minor gaps.

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 coverage is 0% (no property descriptions in the schema), but the description thoroughly explains each parameter: unit_index, preset_b64, and the three keep_* flags. This fully compensates for the schema gap and adds precise meaning, including defaults and provenance (preset_b64 from export_preset).

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 clearly states 'Replace an audio unit's instrument/effects/timeline from a preset' with a specific verb and resource. It also names the underlying method and the optional elements (MIDI effects, audio effects, timeline). However, it does not explicitly differentiate from similar tools like mcp_opendaw_replace_instrument, so it falls short of a 5.

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?

The description implies usage with presets from 'export_preset' and notes the compatibility requirement (MIDI→MIDI, Audio→Audio), but it does not explicitly state when to use this tool instead of alternatives such as mcp_opendaw_replace_instrument or mcp_opendaw_import_preset. No exclusions or alternative tool references are provided.

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