Skip to main content
Glama
ismail: agent DAW (MCP server)

ismail: agent DAW (MCP server)

Live Played

live_played

Reads back the notes someone played on their MIDI keyboard and records the take into a song track, with optional grid fitting for loop-ready takes.

Instructions

What the person played on their keys, as notes text: 'bar | +beat | pitch | d= | v=' lines in this engine's bars, the same notes format tracks take (note-offs held while the sustain pedal was down). bars: the last bars bars that had keys, or [a, b] for those bars (ask the player which part; never guess). Per input (source: one input). Read it to answer what they played or to quote a phrase back. Clock: each note is where it sounded against the beat the player heard (the press plus the keys' delay to the speakers, which the header names in ms), because a player by ear lines up what they hear with the kick. To loop a take back, use fit=True rather than rounding the lines to the grid: it groups the hits (keys within 0.15 beat are one), fits a 16th grid with a free offset, says the offset, the rms error in ms, the drift per bar and the rhythm's shape in 16ths (3-3-2), and prints the snapped notes twice as live_queue notes (beats from the clip start, bar 1 = the take's first bar, or from_bar): A as played, B with the first hit on a downbeat. Where the take sits against the kick is a musical choice the data cannot make: play both and let the player pick by ear. When every key has the same velocity (a keyboard that sends one), the reply says so and suggests an accent shape; the lines keep the velocity. Recording into the song: into='' writes the take into that track of the project in this folder (an existing track: track_add first, with the sound to keep), one input at a time. Reach for it when the person wants to record what they played on their MIDI keyboard into a track of the song (keep a take), instead of copying the lines into notes_write. bar: where the take's first bar lands (from_bar picks which of the engine's bars is that first bar; default the first bar with a note). mode='replace' clears the bars the take covers on the track first, 'add' merges. Without fit it writes the take as it sounded: off the grid where it was played, each note's velocity and length, the pedal's holds. With fit=True it writes the snapped notes, placement='A' (as played, the default) or 'B' (the groups from beat 1) as the reply named them; ask the player first. The reply says what was written, how to hear it, and undo() takes it back. The played expression goes in too: the take's pitch bend, pressure and controllers (the key log keeps them, whether or not the sound took them live) become the track's lanes (automation inst.lane.) over the take, by live_midi's map: bend <- pitch bend (+-2, or +-48 per note with MPE), vib <- cc:1 (0..50 cents), level <- pressure (0..+6 dB), or the patch's own lanes= while the input is patched. lanes: the map as data, as live_midi and midi_write take it ({lane: {'midi': 'bend' | 'pressure' | 'cc:', 'range': [lo, hi]}}, any lane the song's voice has, e.g. {'breath': {'midi': 'cc:2', 'range': [0, 1]}}; {lane: None} leaves one out), or lanes=False for notes only. mpe: read each note's own channel, True or 'lower', 'upper' or False (default: as the input is patched, else the MPE configuration the log holds). Poly pressure goes onto the channel's pressure by the newest key held (a key that sends none is at 0), since a song's lanes are per track. The lanes run to the take's last bar line, so a wheel let go after the last note springs back, and a bend or pressure still off rest there goes back to rest on that line. They replace the track's points over the take's bars, and on to the last point when a note is held past them; the song's own point on the bar line after stays (mode='add' merges only notes). With fit they move with the notes. MIDI effects: keys played through live_midi_fx come as the notes its chain made of them, as they sounded (its random choices as rolled live, its note lengths), so a take written into a song plays what was heard and does not roll the dice again. With live_arp on too, they are the notes the arp held, not its steps. raw=True gives the keys pressed instead (for a track whose own track_midi_fx makes the notes); the reply says which it gave. Reach for it when the person wants to keep a take of what the effects made live, its random rolls included.

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": {
      "project": "<project>"
    },
    "name": "live_played"
  }
}

Input Schema

NameRequiredDescriptionDefault
barNo
fitNo
mpeNo
rawNo
barsNo
intoNo
modeNoreplace
lanesNo
sourceNo
projectYes
from_barNo
placementNoA

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.4.5
    • addedInput schema / properties / lanes
      Added value: +{
      +  "default": null,
      +  "title": "Lanes"
      +}
    • addedInput schema / properties / mpe
      Added value: +{
      +  "default": null,
      +  "title": "Mpe"
      +}
    • addedInput schema / properties / raw
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
  2. Changed4 schema fields changedv0.4.3
    • addedInput schema / properties / bar
      Added value: +{
      +  "default": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / into
      Added value: +{
      +  "default": null,
      +  "type": "string"
      +}
    • addedInput schema / properties / mode
      Added value: +{
      +  "default": "replace",
      +  "type": "string"
      +}
    • addedInput schema / properties / placement
      Added value: +{
      +  "default": "A",
      +  "type": "string"
      +}
  3. Addedv0.4.0

TDQS

A4.1/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It states exactly what a write destructively does: mode='replace' clears the bars the take covers; lanes replace the track's points over the take's bars and on to the last point while a note is held; mode='add' merges only notes; when fit=True the lanes move with the notes. It describes the reply (what was written, how to hear it), states that undo() takes it back, explains how placement A and B are derived, and discloses the tricky clock and speaker-delay semantics. That is an unusually complete behavioral account for a mutating tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is about 650 words of extremely long sentences with nested parentheticals, and it repeats points: 'the pedal's holds' is described twice, the player is told to 'ask ... first' in two separate places, and the fit=True behavior is restated in the write section. Some of that length is earned by the tool's complexity and by the 0%-described schema, but the front-loading is weak: the tool's primary verb and its read-versus-write distinction are buried, and the writing is dense rather than structured (no headings or lists). An agent can use it, but it is inefficient to parse.

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

Completeness5/5

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

This is a complex 12-parameter tool with a draft/replace automation behavior and an output schema. The description covers purpose, when to use it versus siblings, prerequisite steps (track_add), destructive scope, return hints, undo, and the fit-to-grid trade-offs. Because an output schema exists, the return-value detail is appropriately left out. Only 'project' and the 'monitor' mode are underexplained, which is minor against the overall completeness.

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 description coverage is 0% across 12 parameters, so the description must explain them, and it largely does: bars/num_bars, fit, placement A/B, bar, from_bar, into, mode, lanes (including the {lane: {'midi': ..., 'range': [...]}} shape and the None/False cases), select, velocity as recorded, live_played vs live_queue. The main gap is `project`, which is only implied ('in this project in this workspace') rather than explained. Given the zero-coverage schema, this is a substantial compensation.

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 resource: the notes a person played on their keyboard, expressed in the engine's bar and note-line format. It distinguishes itself from similar tools by pointing to live_keys_page ('raw=True ... the reply says which it gave') and to notes_write ('instead of copying the lines into notes_write'). The first sentence is a noun phrase rather than a verb, and the definition layers a read mode and a record-into-track mode together, so an agent must read the whole text before it can state in one clean sentence what the tool does. The specificity is high, but the density makes it needed.

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 definition gives explicit conditions for use: 'Read it to answer what they played or to quote a phrase back' and 'Reach for it when the person wants to record what they played on their MIDI keyboard into a track of the song (keep a take).' It names alternatives and contrasts the tool with them (fit=True 'rather than rounding the lines to the grid'; lanes let you avoid notes_write), and it states prerequisites ('an existing track: track_add first') and a human-in-the-loop rule ('ask the player which part; never guess', 'ask the player first'). There are no explicit when-not-to-use exclusions, for example which tool answers about the past when live_keys_page is still recording, so it is a strong 4, not a 5.

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

Deploy Server

Other Tools