Skip to main content
Glama
io.github.AudialAI/audial-mcp

io.github.AudialAI/audial-mcp

Official

Audio to MIDI

generate_midi

Converts an audio file into a MIDI file of extracted notes, leaving the source unchanged and writing results to a new folder. For full mixes, split stems first, then transcribe the chosen stem.

Instructions

Transcribe an audio file to MIDI.

Use to get notes out of audio. On a full mix, run stem_split first and transcribe the stem you want. Counts as one run. MIDI files go to a new results folder; the source is unchanged.

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": {
      "file_path": "<file_path>"
    },
    "name": "generate_midi"
  }
}

Input Schema

NameRequiredDescriptionDefault
bpmNoOverride the detected tempo for note quantisation.
file_pathYesFull path to a local audio file (.wav, .mp3, .aif, .aiff, .flac, .m4a, .ogg, .aac). ~ is expanded.

Output Schema

NameRequiredDescriptionDefault
toolYes
filesYes
summaryYes
metadataYes
output_dirYes
execution_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already say readOnlyHint=false and destructiveHint=false. The description adds the details that matter for that write: the source is unchanged, output goes to a new results folder, and the call counts as one run. It doesn't address what happens if you run it twice on the same file, which is relevant given idempotentHint=false.

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?

Three short lines: purpose, usage, side effects and cost. The core action is front-loaded, and nothing repeats the schema or annotations. Every sentence earns its place.

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

Completeness4/5

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

With only two parameters, an output schema, and full annotation coverage, this definition covers what an agent needs to call the tool: where output lands, that the source isn't modified, and what it costs. The one missing piece is how repeated runs behave on the same input.

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?

Schema coverage is 100%, and file_path (accepted formats, ~ expansion) and bpm (tempo override for quantisation) are both documented there. The description adds nothing beyond that. A 3 is the baseline when the schema does the explanatory work.

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 opens with a specific verb and resource: "Transcribe an audio file to MIDI," then restates the goal in plain terms ("get notes out of audio"). That is clearly distinguishable from sibling tools like audio_features (analysis) or stem_split (separation).

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 gives a usable "when": pull notes out of audio. It also names a concrete alternative path for full mixes (run stem_split first, then transcribe the stem), which is real routing guidance. It stops short of saying when not to use this tool at all, so it isn't the full when/when-not/alternatives picture.

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