Skip to main content
Glama

musictomidi_get_job

Checks a MusicToMIDI conversion or stem-separation job's status, progress, cost, and results without downloading files; returns result links, metadata, or errors so you can monitor until completion.

Instructions

Returns the state of a MusicToMIDI job, without downloading anything: status (validating, starting, running, then done, failed or expired), progress, stage, cost, the results once done (links to the result files, bpm, key, duration…), the error of a failed or expired job, and testMode true for the sample job of a test key (no conversion: always the same sample files, never the file sent). While the status is validating, starting or running, call again (wait_seconds waits inside the call); once it is done, use the links of the results, or call musictomidi_download_result to save the files in a folder.

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>"
    },
    "name": "musictomidi_get_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesjobId returned by musictomidi_convert_to_midi, musictomidi_separate_stems or musictomidi_list_jobs.
wait_secondsNoSeconds to wait for the end of the job (done, failed or expired), checking every 3 seconds. 0: check once. 0 to 50. Default: 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so: it enumerates the status lifecycle, names the returned fields (progress, stage, cost, results, error), and discloses that testMode returns the same sample files and never the uploaded file. It also explains that wait_seconds blocks inside the call rather than requiring client-side looping.

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-loaded with the return payload and the download exclusion, then the polling instruction. The first sentence is a long run-on list, but every clause (state list, testMode caveat, error field) carries information an agent needs.

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?

There is no output schema, so the description must describe the return value, and it does so field-by-field including the failure and expired paths. Combined with the polling guidance and download hand-off, nothing needed to call this correctly is missing.

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's provenance and wait_seconds' range, default and 3-second polling interval are already documented in the schema. The description adds only marginal framing ("wait_seconds waits inside the call") and does not mention job_id at all, so 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 ("Returns the state of a MusicToMIDI job") and immediately scopes it against the sibling by saying "without downloading anything". An agent can distinguish this from musictomidi_download_result 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 Guidelines5/5

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

Explicitly prescribes polling: while status is validating/starting/running, call again; once done, either use the result links or call musictomidi_download_result to save files. Both the when-to-use and the named alternative are spelled out.

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