Skip to main content
Glama

Export a song as MIDI or a printable strip

export_song
Read-only

Creates a download link for one box version of a song: an MP3, a MIDI file or a printable strip PDF to cut and punch for a hand-crank music box ("pdf_long" is one continuous strip, "pdf_a4"/"pdf_letter" are sliced to fit the page). Works on the person's songs and on public tunes. Requires signing in, like exporting in the composer.

Input Schema

NameRequiredDescriptionDefault
boxNoWhich version. Defaults to the preferred one.
gridNoGrid printed on the strip (PDF only). Default standard.
formatYes
song_idYes
show_titleNoPrint the song title on the strip (PDF only). Default true.
strip_shapeNoShape of the strip ends (PDF only). Default capped.

Output Schema

NameRequiredDescriptionDefault
boxYes
formatYes
song_idYes
download_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "midi",
      -  "pdf_long",
      -  "pdf_a4",
      -  "pdf_letter"
      -]New value: +[
      +  "mp3",
      +  "midi",
      +  "pdf_long",
      +  "pdf_a4",
      +  "pdf_letter"
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and openWorldHint=false, so the safety profile is already covered; 'creating a download link' is consistent with a non-destructive read. The description adds useful non-annotation context — the sign-in requirement and that the operation spans both private and public tunes — though it doesn't say whether links expire or how they are consumed.

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?

Two dense sentences, front-loaded with what the tool produces, followed by the format clarification and auth requirement. The parenthetical is long but each clause carries information an agent needs.

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?

An output schema exists, so return values need not be explained, and the description covers the key constraints: auth requirement, song scope, and format semantics. Minor gaps remain around link lifetime and PDF-only applicability of some options, but the definition is sufficient for correct invocation.

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 67% and the description compensates meaningfully: it disambiguates the otherwise undescribed 'format' enum by explaining pdf_long (one continuous strip) vs pdf_a4/pdf_letter (sliced to page) and enumerates mp3/midi/pdf. It adds little about box, grid, show_title, or strip_shape, which the schema already documents.

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+resource ('Creates a download link for one box version of a song') and enumerates the artifact types (MP3, MIDI, printable strip PDF), which is more than the title alone. It does not, however, explicitly distinguish itself from the sibling render_audio, which an agent might confuse for audio output.

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?

Gives clear usage context: it works on the person's own songs and on public tunes, and requires signing in. There is no explicit when-not guidance or named alternative (e.g., render_audio vs. export for download), so it stops short of the top band.

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