Skip to main content
Glama

TuneWing MIDI & Sheet Music Tools

Convert MIDI to ABC or MusicXML 4.0

midi_to_notation
Read-onlyIdempotent

Convert a base64-encoded MIDI file into readable ABC notation and/or uncompressed MusicXML 4.0 score-partwise XML with grand-staff splitting and automatic key spelling.

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": {
      "midi_base64": "<midi_base64>"
    },
    "name": "midi_to_notation"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional title override for the exported score.
formatNoTarget sheet-music notation format.abc
midi_base64YesBase64-encoded standard MIDI file (.mid / .midi, max 256 KB decoded).
auto_detect_keyNoEstimate a key signature when the MIDI header omits one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: grand-staff splitting, automatic key spelling, and uncompressed score-partwise MusicXML 4.0 output. It does not describe failure behavior for malformed or oversized MIDI, which is the remaining gap.

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?

A single dense sentence with the operation and output formats front-loaded and no filler. It is information-packed rather than wasteful, though splitting the output-format guarantees from the input description would read more clearly.

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?

There is no output schema, so the description carries the burden of explaining what comes back; it names the formats but not the response shape (e.g., whether both results are returned as strings or base64). With annotations and a fully documented schema, the missing return-shape detail is the main shortfall.

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%, so every parameter is already documented structurally, including the format enum and the 256 KB limit. The description's mention of 'and/or' formats and 'automatic key spelling' loosely echoes the format and auto_detect_key parameters but adds no new syntax or constraints.

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 (convert) and resource (base64-encoded MIDI file) plus the exact output targets (ABC notation and uncompressed MusicXML 4.0 score-partwise). It is clearly distinguishable from analyze_midi or transform_midi by the stated output, though it never names a sibling explicitly.

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 is only implied by the purpose: feed a MIDI payload, get sheet music back. There is no statement of when to prefer ABC vs MusicXML vs both, nor exclusion guidance, so the agent must infer the selection from the enum in the schema.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources