Skip to main content
Glama

theory_progression

Read-onlyIdempotent

Converts chord progressions into voiced, voice-led MIDI notes for clips, from numerals, symbols, a library, or style-based generation, with optional bass lines and playing patterns.

Instructions

Turn a chord progression into voiced, voice-led notes ready for clips.write_midi: from text (numerals or symbols), from the library, or generated in a style. Optional bass line and playing pattern (arpeggios, pulses, strums, …). Deterministic. To write it straight into a clip with its chord lane, use clips.write_progression.

Input Schema

NameRequiredDescriptionDefault
keyYes
chordsNoRoman numerals or chord symbols. Each chord is one bar unless bars are marked: '|' separates bars and splits one between its chords, 'I:2' = 2 beats, '.' holds, '%' repeats the bar. E.g. 'ii7 V7 Imaj7 Imaj7', 'Am F C G', '| I | vi | IV V |'.
libraryNoName of a progression from theory.library.
performNo
generateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered; the description's 'Deterministic' largely restates idempotentHint. It does add useful output-purpose context ('voiced, voice-led notes ready for clips.write_midi'), but with no output schema it never describes the shape of the returned note data, which is the main missing behavioral detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences plus a routing clause; the core action is front-loaded and every clause (input modes, optional bass/pattern, determinism, alternative tool) carries distinct information.

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 5-parameter tool with nested objects and no output schema, the description covers purpose, input modes, performance options, determinism and the sibling alternative. It stops short of describing the returned note structure and how key/mode constrain the generated/parsed chords, leaving a small gap.

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?

Top-level schema coverage is only 40%, but the description compensates by mapping the three input modes onto chords/library/generate (an exclusivity the schema never states) and by citing perform.bass and perform.pattern with example values ('arpeggios, pulses, strums'). The nested field descriptions in the schema carry the rest, so only the 'key' object is left implicit.

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?

States a specific verb and resource ('turn a chord progression into voiced, voice-led notes') and names the downstream consumer (clips.write_midi). It is immediately distinguishable from the sibling clips.write_progression, which the description explicitly routes away.

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?

Names the three input modes (text, library, generated), the optional performance layer, and the explicit alternative: use clips.write_progression to write directly into a clip with its chord lane. An agent can pick between theory_progression, clips.write_midi and clips.write_progression without opening a schema.

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

Deploy Server

Other Tools