Skip to main content
Glama

set_song

Configure a project's song name, BPM, key/mode label, time signature, swing, and loop range to control playback settings.

Instructions

Song settings: name, bpm (notes stay on the grid), key + mode (only the label used by the theory tools: to move the notes use transpose), time_sig, swing 0-1 (delays off-beat 16ths of all MIDI), loop=[first_bar, last_bar] for playback.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_song"
  }
}

Input Schema

NameRequiredDescriptionDefault
bpmNo
keyNo
loopNo
modeNo
nameNo
swingNo
projectNo
time_sigNo
clear_loopNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real side effects: bpm changes keep notes on the grid, and swing 'delays off-beat 16ths of all MIDI' — a non-obvious global mutation. However, it says nothing about whether omitted fields are preserved or reset, whether changes are undoable, or what the 'project' parameter scopes to, which are material gaps for a mutation tool with zero annotation coverage.

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?

A single dense sentence that front-loads the field list and folds clarifying asides into parentheticals, so nothing is wasted. The key/mode aside is slightly convoluted and could be split for readability, but overall it is compact and scannable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter mutation tool with no annotations and no output schema, the description covers most settings but omits two parameters entirely and never states the update semantics (partial vs. full replacement) or the response. It is adequate to call the tool, but an agent could still misuse 'project' or 'clear_loop'.

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 0%, so the description must compensate, and it largely does: it names seven of nine parameters and adds semantics the schema lacks (swing range 0-1, loop as [first_bar, last_bar], key/mode as label-only). The gaps are 'project' and 'clear_loop', neither of which appears in the description at all, and time_sig's array format is left unstated. Strong coverage but not complete.

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 'Song settings' and enumerates the exact properties it controls (name, bpm, key, mode, time_sig, swing, loop), so the resource and scope are unambiguous. It also explicitly distinguishes itself from transpose for the key/mode case. It lacks an explicit verb form, but the intent is still clear from the name and field list.

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?

There is one genuine routing instruction: key/mode sets only the label and 'to move the notes use transpose', which is a concrete alternative. Beyond that, there is no guidance on when to call set_song versus set_clip/set_track/set_section, nor any note that all nine parameters are optional or that partial updates are permitted. Usage is implied rather than stated.

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