Skip to main content
Glama
boraswim
by boraswim

create_song

Destructive

Builds a new song in Bosca Ceoil from BPM, instruments, patterns, and bar arrangement, replacing the open song; omit details to start with a default piano and empty pattern.

Instructions

Replaces the open song with a new one, optionally built in one go from settings, instruments, patterns and an arrangement. This is the quickest way to write a song. Without instruments and patterns, you get the app's default: one Grand Piano, and one empty pattern on bar 0.

Input Schema

NameRequiredDescriptionDefault
bpmNoBeats per minute, 120 by default.
barsNoOne entry per bar, each a list of up to 8 channels holding a pattern index or null. [[0, 2], [1, 2, null, 3]] is two bars.
swingNoSwing, from -10 to 10. 0 is straight.
effectNoGlobal effect: delay, chorus, reverb, distortion, low boost, compressor or high pass.
bar_sizeNoSteps between the grid's bar lines, 4 by default. Purely visual.
loop_endNoBar after the last bar of the loop. By default, the end of the song.
patternsNoBars refer to them by position in this list.
loop_startNoFirst bar of the loop, 0 by default.
instrumentsNoUp to 16. Patterns refer to them by position in this list.
effect_powerNoEffect strength. 5 or lower turns it off.
pattern_sizeNoSteps in every pattern, 16 by default. Each step is a quarter of a beat.
discard_changesNoMust be true to replace a song with unsaved changes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description still adds real value by disclosing the replacement behavior and the exact fallback state when instruments/patterns are omitted (one Grand Piano, one empty pattern on bar 0). It omits that replacing a song with unsaved changes requires discard_changes=true, which the schema carries instead.

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?

Three short sentences, front-loaded with the destructive replacement, then the construction capability, then the default outcome. Every sentence carries information; a slightly crisper ordering could have put the default-behavior note before the sales pitch, but nothing is wasted.

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?

For a 12-parameter destructive constructor with no output schema, the description covers what the tool replaces and what an empty call produces, and annotations cover the destruction risk. The main remaining gap is the unsaved-changes/discard_changes interaction, which is documented only in the schema.

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 description coverage is 100%, so per-parameter meaning is already fully documented, including defaults, ranges and the discard_changes guard. The description only groups the parameters conceptually ('settings, instruments, patterns and an arrangement') without adding syntax or constraints beyond the schema, which matches the baseline of 3.

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 and resource ('Replaces the open song with a new one') plus the optional one-shot construction from settings, instruments, patterns and arrangement. It does not name a sibling it is not (e.g. update_song, open_song), so differentiation is left to inference, but the destructive 'replace' framing is unambiguous.

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?

'This is the quickest way to write a song' is a weak usage cue rather than an explicit when-to-use rule. Nothing tells the agent when to prefer update_song for modifying an existing song, or open_song for loading one; usage is only implied by the destructive replacement semantics.

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