Skip to main content
Glama

generate_bass

Destructive

Creates a bassline from a chord progression and writes it into an Ableton Session clip, supporting pattern styles or walking bass with approach and ghost notes.

Instructions

Generate a bassline following progression into a Session clip (REPLACES notes).

  • mode='pattern' (default): style = roots | root_fifth | walking | eighth_pump.

  • mode='walking': quarter-note scale/chord walking bass with approach & ghost notes.

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": {
      "track_index": "<track_index>",
      "clip_index": "<clip_index>",
      "progression": "<progression>"
    },
    "name": "generate_bass"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoC
modeNopattern
seedNo
ghostNo
scaleNominor
styleNoroots
octaveNo
velocityNo
clip_indexYesZero-based Session-view clip-slot index on the track.
progressionYesDash-, comma-, or space-separated chord symbols, e.g. "Dm7-G7-Cmaj7".
track_indexYesZero-based index of a regular track in the Live set.
beats_per_chordNo

Output Schema

NameRequiredDescriptionDefault
dataYes
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.1

TDQS

B3.2/5.0
Behavior3/5

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

The annotations only declare destructiveHint=true, and the description usefully corroborates that by stating '(REPLACES notes)', which tells the agent existing note data is destroyed. Beyond that, it discloses how the two `mode` values behave but says nothing about determinism from `seed`, what happens on invalid progressions, or whether the clip is created if absent.

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 short lines, front-loaded with the action and the destructive consequence, then a scannable bullet per mode. Nothing redundant and no wasted wording.

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

Completeness2/5

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

With 12 parameters, a low schema coverage, and only a destructiveHint annotation, the description omits too much about the musical parameters that materially change output. The output schema covers the return value, but the agent still lacks sufficient context to choose `key`, `scale`, `octave`, `ghost`, or `beats_per_chord` sensibly.

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

Parameters2/5

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

Schema description coverage is only 25% across 12 parameters, so the description needs to carry meaning and only explains `mode` and `style`. It adds nothing for `key`, `scale`, `octave`, `ghost`, `beats_per_chord`, `seed`, or `velocity`, leaving over half the surface documented only by bare titles and defaults.

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 definition names a specific verb plus resource, 'Generate a bassline', and names the exact destination, a Session clip, which also distinguishes it from sibling generators such as generate_chords and generate_melody. It does not explicitly route against those siblings by name, so it stops 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 bullets explain how the two `mode` values differ and enumerate the styles available in pattern mode, so it implies when each mode applies. However, it gives no guidance on when to choose this tool over generate_melody or the other generators, and no prerequisites such as whether the target clip must already exist.

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