Skip to main content
Glama
live-agent-bridge

live-agent-bridge

by huaidj

acestep_generate_part

Generate a new isolated audio part that fits a reference track and import it into Ableton Live; if generation isn't ready, use the returned task_id to fetch the result.

Instructions

Generate a NEW audio part with the local ACE-Step XL Base model (lego task) that fits the reference music, then import it into Live. Output is audio, not MIDI; adherence to key/BPM is conditioning, not a guarantee - listen before keeping. If the wait ends first, the result contains a task_id: continue with acestep_result (never resubmit).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "reference": "<reference>",
      "track_name": "<track_name>",
      "prompt": "<prompt>"
    },
    "name": "acestep_generate_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
bpmNoDefault: Live's tempo
seedNoFixed seed for reproducibility; omit = random
slotNo
end_sNoCrop end in seconds (omit = to the end)
stepsNo
promptYesMusical brief in English: role, character, rhythm, register, density, genre. Say what NOT to include (no drums/bass/vocals) so the part stays isolated
wait_sNoHow long to wait for the result
start_sNoCrop start in the reference, seconds
guidanceNo
import_toNoPut each result on a new audio track (background, selection untouched)arrangement
key_scaleNoe.g. 'A minor'. Default: Live's scale if enabled
referenceYesAbsolute path of a WAV with the music the new part must fit (e.g. a section exported from Live, a stem, or a loop). 10-120 s after cropping
remove_dcNoAlso write a DC-offset-corrected copy and import that (original kept)
start_timeNoArrangement position in beats for the import
track_nameYesInstrument of the new part: 'synth', 'bass', 'keys', 'pad', 'guitar', 'strings', 'lead', 'arp', ...
variationsNoCandidates generated in one batch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare this is a non-read-only, non-destructive, closed-world operation; the description adds genuinely new behavior: asynchronous execution with a wait window, a task_id returned on timeout, and the rule not to resubmit. It also discloses the quality caveat that key/BPM are conditioning rather than guarantees and that results should be auditioned, which is exactly the kind of expectation-setting annotations cannot carry.

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?

Three tight sentences with no filler: identity and modality first, then the quality caveat, then the timeout escape hatch. Each clause carries distinct decision-relevant information.

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?

For a 16-parameter asynchronous generation tool with no output schema, the description covers the two things an agent could not infer: the audio-not-MIDI result type and the task_id continuation contract. It does not mention prerequisites (whether the local ACE-Step service must be running) or failure behavior, which are the remaining gaps.

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?

Schema coverage is 81%, so the baseline is 3, but the description adds meaning beyond the schema for bpm/key_scale (adherence is conditioning, not enforcement) and for wait_s (what the return value looks like when the wait expires). It leaves the interaction between variations, slot, and start_time to the schema, which is acceptable given the coverage.

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?

States a specific verb and resource — 'Generate a NEW audio part' — plus the concrete backend (local ACE-Step XL Base, lego task) and the post-step ('then import it into Live'). It explicitly declares the output modality ('Output is audio, not MIDI'), which is the main confusion risk for an agent choosing between this and note/clip tools.

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?

Gives a clear condition for use ('fits the reference music') and, critically, names the follow-up path when the wait expires: use acestep_result and 'never resubmit'. It does not state exclusions such as when to prefer a different generation tool, but the timeout branch and the anti-duplicate rule cover the highest-risk decision point.

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