Skip to main content
Glama

Import Score

import_score
Read-only

Convert a MusicXML score into a fugue.score.v1 asset, answering as a local import_score does inline. Pass musicxml, the score's text (at most 256 KiB; not a path, URL or zipped .mxl). Returns the conversion summary and score. To play it, give each cell its own cell_sequencer: cells [score.cells[i]] inline, step_count steps_per_cell, root_note score.root_note, clocked once per rhythm_grid step. An answer past 64 KiB is refused. Nothing is stored.

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": {
      "musicxml": "<musicxml>"
    },
    "name": "import_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
musicxmlYesThe score's MusicXML text (partwise), at most 256 KiB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation it discloses concrete operational facts: a 256 KiB input cap, refusal of answers past 64 KiB, the fact that nothing is stored, and that the response contains both a conversion summary and the score. The 'nothing is stored' statement is consistent with the readOnly annotation rather than contradicting it.

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?

The sentence sequence is front-loaded and practical: purpose, input, return, then playback. The phrase 'answering as a local import_score does inline' is opaque and the cell_sequencer wiring is dense, but every clause carries actionable content rather than filler.

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 one parameter and no output schema, the description fills the important gaps: input encoding, size limits, refusal behavior, and what the return contains. It even explains how to feed the result into cell_sequencer, leaving little an agent must guess before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3, but the description adds genuine meaning by excluding common wrong inputs: the value is raw text, not a path, URL, or zipped .mxl file. That clarification would prevent a likely misuse mode in a way the schema field description alone does not.

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: 'Convert a MusicXML score into a fugue.score.v1 asset,' which tells an agent exactly what the tool produces. It does not explicitly contrast with validate_score, so the sibling distinction (convert vs. check) has to be inferred.

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 implied through the input constraints ('not a path, URL or zipped .mxl') and through the downstream playback recipe with cell_sequencer. However, there is no explicit statement of when to choose this over validate_score, nor any stated preconditions such as whether the MusicXML must already be valid.

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