# add_rack_macro

Add one macro to a Rack, raising visible_macro_count by 1 (Live 11+).

Agent View of the PolicyLayer registry record for `add_rack_macro`. HTML page: https://policylayer.com/tools/io-github-dreamrec-livepilot/add-rack-macro

## Facts

- Tool: `add_rack_macro`
- Server: Livepilot (`livepilot`) — https://policylayer.com/tools/io-github-dreamrec-livepilot.md
- Install: `npx -y livepilot`
- Homepage: https://github.com/dreamrec/LivePilot
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "add_rack_macro",
    "arguments": {}
  }
}
```

## Why add_rack_macro is rated Medium

This tool creates a new macro control on a Rack device, modifying the instrument's configuration. It is reversible (macros can be removed), produces side effects limited to the current Ableton session, and does not execute arbitrary code or delete data. The severity is medium because misconfiguration of macros could disrupt a music production workflow, but the change is localized and undo-able within the DAW.

From the tool's own definition: "Tool description states 'Add one macro to a Rack, raising visible_macro_count by 1', which is a create/modify operation that changes state within Ableton Live."

## Use case

AI agents use add_rack_macro to create or update resources in Livepilot, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Livepilot environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Livepilot:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "add_rack_macro": {
      "limits": [
        {
          "counter": "add_rack_macro_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Livepilot (473)

- `clear_clip_automation` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/clear-clip-automation.md
- `clear_simpler_slices` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/clear-simpler-slices.md
- `corpus_remove_source` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/corpus-remove-source.md
- `delete_clip` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/delete-clip.md
- `delete_device` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/delete-device.md
- `delete_rack_variation` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/delete-rack-variation.md
- `delete_scene` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/delete-scene.md
- `delete_track` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/delete-track.md
- `discard_experiment` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/discard-experiment.md
- `discard_preview_set` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/discard-preview-set.md
- `discard_wonder_session` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/discard-wonder-session.md
- `flatten_track` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/flatten-track.md
- `force_arrangement` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/force-arrangement.md
- `memory_delete` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/memory-delete.md
- `remove_arrangement_notes` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-arrangement-notes.md
- `remove_arrangement_notes_by_id` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-arrangement-notes-by-id.md
- `remove_notes` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-notes.md
- `remove_notes_by_id` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-notes-by-id.md
- `remove_rack_macro` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-rack-macro.md
- `remove_simpler_slice` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-simpler-slice.md
- `remove_warp_marker` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-warp-marker.md
- `splice_remove_from_collection` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/splice-remove-from-collection.md
- `apply_automation_recipe` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/apply-automation-recipe.md
- `back_to_arranger` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/back-to-arranger.md
- `build_project_brain` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/build-project-brain.md
- `build_reference_profile` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/build-reference-profile.md
- `build_song_brain` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/build-song-brain.md
- `capture_stop` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/capture-stop.md
- `compile_goal_vector` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/compile-goal-vector.md
- `continue_playback` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/continue-playback.md
- …and 443 more: https://policylayer.com/tools/io-github-dreamrec-livepilot.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=io-github-dreamrec-livepilot · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-dreamrec-livepilot
