Skip to main content
Glama

generate_additive

Destructive

Build a Philip-Glass style additive process in a Session clip by playing an expanding motif stage by stage.

Instructions

Write a Philip-Glass additive process into a Session clip. REPLACES the clip's notes if it already exists.

Builds a short one-voice motif (each pitch a note_length-beat note, back to back) from pitches -- a space-/comma-separated list of MIDI numbers. Then plays the first 1 note, then the first 2, then the first 3 ... concatenated end to end, so the phrase audibly grows one note per stage. steps is how many stages to build (0 = use every note; capped at the number of pitches).

If source_clip_index is given, the motif is read from that clip on the same track instead of built from pitches. Returns a short summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsNo
pitchesNo60 62 64 65 67 69
velocityNo
clip_indexYes
note_lengthNo
track_indexYes
source_clip_indexNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description discloses the destructive behavior (replacing notes), aligning with the destructiveHint annotation. It also details the algorithm and parameter effects, though some behavioral traits like output summary content are omitted.

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 front-loaded with the core purpose and warning. It is moderately concise, though the algorithmic explanation could be slightly tighter.

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 7 parameters, 0% schema coverage, and an output schema, the description covers the main algorithm and parameter usage. It lacks details on the return value and assumes MIDI clips, but is generally complete.

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?

With 0% schema coverage, the description compensates by explaining key parameters (pitches, note_length, steps, source_clip_index) and their roles. However, track_index, clip_index, and velocity are not elaborated.

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 tool writes a 'Philip-Glass additive process' into a Session clip, explicitly mentioning it replaces existing notes. This distinguishes it from sibling generative tools like generate_melody or generate_bassline.

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 explains how the tool works with parameters but does not explicitly indicate when to use it versus other generative tools. No when-not or alternative recommendations 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/wstierhout/ableton-live-mcp'

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