# remove_notes_by_id

Remove specific MIDI notes by their IDs (JSON array of ints). Use undo to revert.

Agent View of the PolicyLayer registry record for `remove_notes_by_id`. HTML page: https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-notes-by-id

## Facts

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

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

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

## Why remove_notes_by_id is rated Critical

Removing MIDI notes permanently alters a user's composition/project state. While undo exists, the tool's core function is irreversible deletion of data elements (notes). This is destructive rather than merely Write because it destroys existing musical content. The high severity reflects that an AI agent misusing this could delete large portions of a user's work.

From the tool's own definition: "Tool removes/deletes MIDI notes by ID, an irreversible operation on music data. Description explicitly states 'Remove' and references undo as the reversion mechanism, indicating the primary action is destructive rather than reversible write."

## Use case

AI agents call remove_notes_by_id to permanently remove resources in Livepilot, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "remove_notes_by_id"
  ]
}
```

## 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_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
- `develop_apply` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/develop-apply.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
