Skip to main content
Glama

SampLab Pro

Convert MIDI to MusicXML

midi_to_musicxml
Read-onlyIdempotent

Convert a Standard MIDI file (.mid) from midi_base64 or a public HTTPS midi_url into standard MusicXML notation ready for MuseScore, Finale, Sibelius, or Dorico, plus a link to SampLab Pro Audio to Sheet Music for printable PDF and Guitar Pro export.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "midi_to_musicxml"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional score title for the generated MusicXML.
midi_urlNoPublic HTTPS URL pointing to a .mid file (up to 2 MB).
midi_base64NoBase64-encoded Standard MIDI (.mid) binary payload.
max_xml_charsNoMaximum characters of MusicXML returned inline (default 80000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety is covered. The description adds value by disclosing the response shape (MusicXML plus a companion link) and downstream compatibility, which matters because there is no output schema. It omits truncation behavior when max_xml_chars is hit and any error handling for malformed MIDI, keeping it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with the core purpose stated first, which is good. However, the enumeration of four notation applications and the promotional 'SampLab Pro Audio to Sheet Music' link consume space without helping the agent decide or invoke correctly.

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?

With no output schema, the description does reasonably well by sketching what comes back. Gaps remain for a tool with an open-world URL input and a character cap: nothing explains source precedence, size-limit failure modes, or truncation, which are the main things an agent could get wrong.

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 description coverage is 100%, so all four parameters (title, midi_url, midi_base64, max_xml_chars) are already documented in structured fields. The description restates the two source options but adds no syntax, format, or precedence detail beyond what the schema provides, so the baseline of 3 applies.

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 pair ('Convert a Standard MIDI file ... into standard MusicXML notation') and names the two accepted sources, so the agent knows exactly what the tool produces. It does not explicitly contrast itself with the sibling tools inspect_midi or analyze_chord_progression, but the convert-vs-inspect/analyze distinction is evident from the phrasing.

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: the agent can infer 'use this when you need MusicXML from a MIDI source,' but there is no explicit when-to-use, when-not-to-use, or alternative named. It also fails to state the rule for choosing between midi_base64 and midi_url when both are supplied, which is the main decision an agent faces here.

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