Skip to main content
Glama

audio_to_midi

Convert an audio clip into editable MIDI notes on a new track using melody or drum modes, with optional beat-grid quantization, then edit the notes or change the sound.

Instructions

Turn an audio clip into MIDI notes on a new track: mode melody (one line at a time: singing, humming, whistling, a bass, a solo; separate_stems first for a full mix) or drums (beatbox -> kick/snare/hat). grid quantizes in beats (0 = off). Then edit the notes or change the sound.

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": "audio_to_midi"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYes
gridNo
modeNomelody
nameNo
soundNo
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose meaningful behavior: output lands on a new track, melody mode handles only one line at a time, grid quantizes in beats with 0 disabling it, and drums maps to kick/snare/hat. It does not say what is returned (clip id? note objects?), whether it is reversible, or what permissions/state are required, leaving real gaps for a mutating conversion tool.

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 core action is front-loaded in the first clause, with mode details in a compact parenthetical and grid tucked in a short sentence. It is dense but nearly every phrase carries information; the closing "Then edit the notes or change the sound" is the only line that does little work.

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 six-parameter conversion tool with no annotations and no output schema, the description covers modes and grid well but is silent on return values, the meaning of name/project, and failure behavior on complex audio. Adequate to attempt a call, not fully self-sufficient.

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?

Schema description coverage is 0%, so the description must compensate and largely does: it explains clip (the audio source), grid (quantization in beats, 0 = off), mode (melody vs drums with concrete use cases), and sound (change the resulting instrument). It leaves name and project undocumented, and never says whether clip is an ID, path, or handle.

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?

"Turn an audio clip into MIDI notes on a new track" names a concrete verb (convert), a source (audio clip), and a destination (new MIDI track), plus the two mode behaviors. It also distinguishes itself from separate_stems for the full-mix case, so an agent can identify the tool without reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states clearly when each mode applies (melody for a single line such as singing, humming, bass, solo; drums for beatbox) and directs the agent to separate_stems first when handling a full mix. The trailing "Then edit the notes or change the sound" hints at follow-up flow. What's missing is any negative guidance (e.g., when not to use it or what happens with polyphonic input).

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