Skip to main content
Glama

mcp_opendaw_replace_from_preset

Replace an audio unit's instrument, effects, or timeline using a base64 preset. Optionally retain existing MIDI effects, audio effects, or timeline.

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
Behavior3/5

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

With no annotations, the description alone must disclose behavior. It explains the swapping action and optional preservation of effects/timeline, but does not detail side effects (e.g., whether the preset is consumed, if the unit is modified in place) or error conditions beyond 'success or error'. The output is not described, though an output schema exists.

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 well-structured: a one-sentence summary, a technical reference, a precondition, and a clean parameter list. It is concise with no wasted words, and the most important information is front-loaded.

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 (5 parameters, no annotations, many siblings), the description covers the essential: purpose, parameters, precondition. It is sufficient for an agent to invoke the tool correctly. However, it could provide more detail on the return value (though an output schema exists) and error scenarios.

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

Parameters4/5

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

The input schema has 0% description coverage, so the description must compensate. It does so by providing clear, contextual explanations for each parameter: unit_index ('Target AU index'), preset_b64 ('Base64 preset bytes from export_preset'), and the three boolean keep flags with their effects. This adds meaning beyond the raw schema.

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 clearly states the action ('Replace an audio unit's instrument/effects/timeline from a preset'), specifies the method (Uses PresetDecoder.replaceAudioUnit), and distinguishes from generic replace tools by emphasizing preset-based replacement. It also notes compatibility constraints (MIDI→MIDI, Audio→Audio).

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool: when replacing an audio unit's instrument from a preset while optionally keeping certain elements. It specifies a precondition (compatible instrument type), but does not explicitly mention alternatives or when not to use it.

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

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