Skip to main content
Glama

quantize

Snap notes and durations to a beat grid, apply swing, and adjust strength to preserve rhythmic feel.

Instructions

Snap notes to a grid in beats (0.25 = 16ths, 0.5 = 8ths, 0.333 = triplets). strength < 1 keeps some feel; swing 0-1 delays the off-beats of the grid; lengths=true snaps durations too.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "clip": "<clip>"
    },
    "name": "quantize"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYes
gridNo
swingNo
lengthsNo
projectNo
strengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully explains what the grid, swing, strength and lengths options do to the notes, but never states whether the clip is modified in place, whether the operation is reversible/undoable, or what happens to notes that are already on-grid — meaningful gaps for a mutation tool.

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?

The core action is front-loaded in the first clause, and the remaining semicolon-separated fragments each define one parameter with no filler. Every phrase earns its place.

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?

For a 6-parameter mutation tool with no annotations and no output schema, the description covers the sonic/parameter behavior well but says nothing about the return value, whether the edit is destructive, or the role of the required `clip` and the `project` scope. Adequate but with clear gaps.

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

Parameters4/5

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

With 0% schema description coverage across 6 parameters, the description does real work: it gives the unit of `grid` in beats and maps values to note divisions (0.25 = 16ths, 0.5 = 8ths, 0.333 = triplets), and defines the behavior of `strength`, `swing` (0-1 range) and `lengths`. `clip` and `project` are left to inference, which keeps it below 5.

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 opens with a specific verb and resource: 'Snap notes to a grid in beats,' which tells an agent exactly what operation is performed. It doesn't differentiate from any sibling (e.g. a humanize or groove tool), but none of the listed sibling names obviously overlaps, so the purpose remains unambiguous.

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?

Usage context is implied by the semantics of the parameters — strength < 1 for partial quantization, swing for off-beat delay, lengths to include durations — which is useful tuning guidance. There is no explicit statement of when to reach for this tool versus other note-editing tools, and no preconditions or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.