Skip to main content
Glama

Musicboxmelodies

Save a new music box song

create_song

Saves a melody as a new private song. The melody must have no errors (run validate_melody or fit_melody_to_box first); warnings such as notes repeated too quickly are saved and marked, as in the composer. If the person is signed in, the song goes to their account and you get a link to open it in the composer. Without an account the song is saved anonymously and you get a claim link: give it to the person so they can keep it (valid 30 days). Set save_to_my_account to true to ask the person to sign in first (apps that cannot sign in mid-conversation should save without an account and give the claim link instead). Limits: 5 songs a day without an account, 15 a day with one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boxYesMusic box type: "15", "20", "30" (notes) or "freestyle" (digital only). See list_music_boxes.
bpmYesTempo in beats per minute (30-300).
nameYesSong title.
tagsNo
notesYesNotes in any order, at most 2000. Only onsets matter: music boxes have no note durations.
artistYesOriginal artist or composer ("Traditional" if unknown).
descriptionNoOptional notes about the arrangement.
save_to_my_accountNoTrue to save it in the person's account; they will be asked to sign in if they are not.
illegal_threshold_ticksNoMinimum gap between two identical notes, in ticks (default 384 = 2 beats).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
boxYes
quotaYes
privateYes
song_idYes
claim_urlNo
validationYes
claim_tokenNo
composer_urlNo
claim_expires_atNo
saved_to_accountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the create/non-destructive/non-idempotent profile; the description goes well beyond by disclosing that warnings are saved and marked, the distinction between account and anonymous saves, the 30-day claim-link validity, and concrete rate limits (5/day anonymous, 15/day signed in). This is exactly the behavioral context annotations cannot carry.

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 block is dense and slightly long, but it is front-loaded with the core action and prerequisite, and every sentence (warnings, account flow, claim link, limits) carries information an agent needs. No filler sentences.

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?

With an output schema present, return values need not be explained, and the description still covers prerequisites, account versus anonymous outcomes, claim-link handling, and rate limits. Nothing an agent needs to invoke this correctly is missing.

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 89%, so the schema already documents most parameters and baseline is 3. The description adds real semantic meaning for save_to_my_account by explaining the sign-in consequence rather than just restating the boolean, which lifts it above baseline.

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?

The description states a specific verb and resource ('Saves a melody as a new private song') and immediately frames it against siblings by naming the prerequisite tools validate_melody and fit_melody_to_box. The 'private' scope qualifier further distinguishes it from visibility-related siblings like set_song_visibility.

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?

It gives explicit preconditions ('must have no errors ... run validate_melody or fit_melody_to_box first') and clearly delineates when to use save_to_my_account versus saving anonymously, including guidance for apps that cannot sign in mid-conversation. The account/no-account branch is fully specified.

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