Skip to main content
Glama

nudge_midi_notes

Shift MIDI notes in time by a specified number of beats, preserving note lengths. Use positive values for later, negative for earlier, with clamping at item edges.

Instructions

Shift MIDI notes in time by a number of beats (+ = later, - = earlier).

Start and end move together, so note lengths are preserved. A note pushed before the item start clamps to it and one pushed past the item end is left there; both count in out_of_bounds, not clamped.

Args: amount_beats: Signed beat shift (0.25 = a 16th later, -1.0 = a beat earlier). 0 = no-op.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNo
channelNo
end_beatNo
pitch_lowNo
item_indexYes
pitch_highNo
start_beatNo
track_indexYes
amount_beatsYes
return_notesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.3

TDQS

A3.6/5.0
Behavior4/5

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

The description adds meaningful behavioral detail beyond the sparse annotations: note lengths are preserved, clamping behavior at item boundaries is specified, and the out_of_bounds vs clamped distinction is disclosed. This is valuable context for an agent predicting side effects.

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 compact and front-loaded with the core behavior, followed by useful edge-case semantics and a parameter note. It wastes no words, though the Args section is incomplete relative to the actual parameter set.

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

Completeness2/5

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

With 10 parameters, no output schema, and no parameter descriptions in the schema, the description is not complete enough for reliable invocation. It explains only one parameter and does not describe the return value or the role of filtering parameters like channel, pitch range, or start/end beat.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for 10 undocumented parameters. It only explains amount_beats, leaving track_index, item_index, fields, channel, pitch_low, pitch_high, start_beat, end_beat, and return_notes unexplained. The amount_beats explanation is good, but the majority of parameters remain opaque.

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 clearly states a specific operation: shifting MIDI notes in time by beats, with sign convention. It distinguishes itself from sibling MIDI tools by focusing on temporal nudge rather than pitch, velocity, or quantization.

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 intended use is implied by the description ('Shift MIDI notes in time'), but it does not explicitly state when to prefer this over alternatives like transpose_midi_notes, stretch_midi_notes, or quantize_midi_notes. No exclusions or alternative routing are provided.

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