Get Key
Tool name: get-key
Returns key signature, scale, diatonic chords with Roman numerals, primary triads, and secondary dominants.
Annotations
Section titled “Annotations”| Hint | Value |
|---|---|
| readOnlyHint | ✓ |
| idempotentHint | ✓ |
| destructiveHint | — |
| openWorldHint | — |
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "tonic": { "type": "string", "minLength": 1, "description": "Key tonic (e.g. \"C\", \"F#\", \"Bb\")." }, "mode": { "type": "string", "enum": [ "major", "minor" ], "description": "Key mode." } }, "required": [ "tonic", "mode" ], "additionalProperties": false}Output
Section titled “Output”Returned as structuredContent. The text rendering is a short human-readable summary.
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "signature": { "type": "string", "description": "Key signature as accidentals (e.g. \"###\", \"bb\", \"\" for C major)." }, "scale": { "type": "array", "items": { "type": "string" }, "description": "Notes of the key scale." }, "diatonicChords": { "type": "array", "items": { "type": "object", "properties": { "degree": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "roman": { "type": "string" }, "symbol": { "type": "string" } }, "required": [ "degree", "roman", "symbol" ], "additionalProperties": false }, "description": "Diatonic triads with degree, Roman numeral, and chord symbol." }, "primary": { "type": "array", "items": { "type": "string" }, "description": "Primary triads I, IV, V (or i, iv, v in minor)." }, "secondaryDominants": { "type": "array", "items": { "type": "string" }, "description": "Secondary dominants (V/x) for the diatonic degrees that have one." } }, "required": [ "signature", "scale", "diatonicChords", "primary", "secondaryDominants" ], "additionalProperties": false}