Skip to main content
Glama

plan_midi_velocity_curve

Read-only

Shape selected MIDI note velocities using exact crescendo, decrescendo, fixed, or repeating accent patterns. Define start and end velocities, or a fixed value, to apply a precise curve across complete ordered onsets in an Ableton clip.

Instructions

Plan exact crescendo, decrescendo, fixed, or repeating accent velocities across complete ordered MIDI onsets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
curveYesExact crescendo, decrescendo, fixed, or repeating accent target.
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.
noteIdsYesUnique stable note IDs at complete selected onsets.
trackIdYesStable track ID returned by list_tracks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, so the agent knows this is a non-destructive planning operation. The description's 'Plan' aligns with this—it plans but does not apply—which is useful context beyond the annotations. It doesn't contradict.

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 a single, concise sentence that front-loads the core purpose and the four supported velocity shapes. It is efficient with no wasted words, though it could benefit from a hint about the 'planning' vs 'applying' distinction.

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

Completeness3/5

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

Given the complexity of the curve variants and the requirement for 'complete ordered MIDI onsets', the description is adequate but could mention that it operates on complete onsets and that the output is a plan to be applied elsewhere. There's no output schema, so the description doesn't need to explain return values, but it could clarify the planning nature and the relationship to apply_midi_velocity_curve.

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?

The schema covers 100% of parameters with detailed descriptions, including the curve variants. The description adds a high-level summary but doesn't detail the semantics of each parameter beyond what the schema already provides. Baseline 3 is appropriate because the schema does the heavy lifting.

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 description clearly states the verb 'Plan' and the resource 'MIDI velocity curve' with specific types (crescendo, decrescendo, fixed, or repeating accent) and scope ('across complete ordered MIDI onsets'). It distinguishes from siblings like 'apply_midi_velocity_curve' by emphasizing planning rather than applying, but it doesn't explicitly name the sibling.

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 this is for planning velocity shapes before applying, and the schema indicates it works on specific clips and notes. It doesn't explicitly state when to use this vs 'apply_midi_velocity_curve' or other 'plan_midi_*' tools. The context of 'complete ordered MIDI onsets' gives some usage hints.

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