Skip to main content
Glama

musictomidi_download_result

Downloads completed MusicToMIDI job result files to a local folder and returns saved paths, including MIDI, raw MIDI, stems, and original audio. It avoids overwrites with numbered suffixes.

Instructions

Saves the result files of a done MusicToMIDI job in a local folder, where musictomidi_get_job only gives their links, and returns the paths written: .mid (MIDI), .raw.mid (MIDI before filtering and quantization), .stem. (isolated voice or drums), .original. (the audio sent; with a test key, a sample and not the file sent), and each stem as .flac and/or .mp3. Never overwrites an existing file: a number is added to the name, as in song (1).mid.

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": {
      "job_id": "<job_id>",
      "output_dir": "<output_dir>"
    },
    "name": "musictomidi_download_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesjobId of a job whose status is done.
output_dirYesAbsolute path of the local folder to write the files to. Created if missing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the no-overwrite policy with the exact rename pattern (song (1).mid), the return values (paths written), and the test-key caveat that returned audio is a sample rather than the original. It stops short of stating permission, quota, or rate-limit behavior for what is a file-writing operation.

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?

Front-loads the purpose and then enumerates output filenames, which genuinely earns its space given there is no output schema. The single dense paragraph is readable, though the filename catalog makes it longer than strictly minimal.

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

Completeness5/5

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

No output schema exists, so the description compensates fully by describing every returned path pattern, the overwrite/rename rule, and the test-key modification of original audio. For a two-parameter job-download tool this is sufficient to call it correctly and interpret results.

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 job_id and output_dir are already documented, including that the folder is created if missing. The description adds only marginal meaning, mostly connecting output_dir to the naming scheme of written files; the baseline 3 applies.

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?

States a specific verb and resource ('Saves the result files of a done MusicToMIDI job in a local folder') and explicitly contrasts with the sibling musictomidi_get_job, which 'only gives their links.' An agent can distinguish this from the sibling without opening either 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?

Makes the selection condition clear by contrasting with musictomidi_get_job (links only) and by noting the job must be 'done,' matching the schema's jobId constraint. It does not spell out when-not to use it or mention any auth/quota prerequisites beyond the test-key aside.

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