Skip to main content
Glama

transform_midi_notes

Apply quantize, legato, or duplicate transforms to specific MIDI notes in a clip, with a dry-run plan before execution.

Instructions

Plan or apply guarded quantize, legato, or duplicate transforms to exact MIDI note IDs on one exact Session or Arrangement MIDI clip.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clipIdYesStable clip ID: track-N:clip-M from list_clips, or track-N:arrangement-clip-M from list_arrangement_clips for tools that support Arrangement clips.
dryRunNoOmit or true to return a plan; false requires a valid confirmationToken.
noteIdsYesStable note IDs.
trackIdYesStable track ID returned by list_tracks.
planHashNoHash returned by the matching dry run.
operationYes
confirmationTokenNoShort-lived, single-use token returned by the matching dry run.
expectedStateVersionYesExact stateVersion observed immediately before planning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only indicate non-read-only and non-destructive. The description adds 'guarded' and 'Plan or apply', which conveys mutation with a safety workflow and precise targeting. It does not spell out confirmation-token or state-version gating, but the schema covers those details.

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?

A single front-loaded sentence that names operations, scope, and guarded plan/apply behavior with no filler. Every clause earns its place.

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?

For an 8-parameter guarded mutation tool, the description supplies the essential scope and operation selection, while the schema carries most operational detail. It is slightly thin on explicitly explaining the two-phase plan/confirm protocol, but the dryRun, planHash, and confirmationToken fields fill that gap.

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

Parameters3/5

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

Schema description coverage is 88% and parameter descriptions already explain the operation subfields and IDs. The description reinforces 'exact MIDI note IDs' and one clip scope but does not add meaningful parameter semantics beyond what the schema already provides.

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 states a specific verb/resource and the exact operations: 'Plan or apply guarded quantize, legato, or duplicate transforms to exact MIDI note IDs on one exact Session or Arrangement MIDI clip.' This clearly distinguishes it from audio-quantize, clip-duplication, and plan-only MIDI sibling tools.

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 implies when to use the tool (for quantize/legato/duplicate transformations on specific note IDs) but does not explicitly name alternatives or state when not to use it. The plan/apply workflow is only discoverable from schema fields like dryRun and confirmationToken rather than from the description.

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