Skip to main content
Glama

quantize_clip

Tighten a clip's timing by pulling notes toward a chosen grid; set amount to 1 for exact snapping or lower values to retain some human feel.

Instructions

Tighten the timing of a part: pull its notes towards the grid. amount 1 snaps them exactly, 0.5 moves them halfway (keeps some human feel).

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": {
      "track": "<track>",
      "scene": "<scene>"
    },
    "name": "quantize_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
gridNo1/16
sceneYes
trackYes
amountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context that quantization moves existing notes rather than replacing them, and that amount<1 preserves some timing deviation. It does not say whether the change is undoable or how the clip is affected beyond note timing.

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?

Two compact sentences with the core action front-loaded and the parameter nuance neatly bracketed. No filler, though the second sentence could be slightly tighter in phrasing ('keeps some human feel' is informal but functional).

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 4-parameter mutation tool with no output schema and no schema descriptions, the definition covers the essential concept and the least obvious parameter. It leaves gaps on track/scene addressing and on grid selection, which matter for correct invocation and are not covered anywhere else.

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 carry the load, but it only explains amount in depth. The grid parameter (which selects the quantization target) and track/scene identifiers are undocumented, and the ambiguous int-or-string form of track/scene is left unexplained. Only one of four parameters gains meaning.

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?

States a specific verb and resource: 'Tighten the timing of a part: pull its notes towards the grid.' An agent can immediately tell this is a MIDI note-timing operation, distinct from siblings like update_clip or write_clip. It stops short of naming a sibling it differs from, which keeps it at 4.

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 parenthetical about amount 1 vs 0.5 gives guidance on how to use the tool, including the musical tradeoff of keeping human feel. However, there is no statement of when to prefer this over editing notes directly via update_clip, nor any prerequisites or exclusions. Usage is implied by the operation itself rather than spelled out.

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