Get Interval
Tool name: get-interval
Returns the interval between two notes (name, semitones, quality, number).
Annotations
Section titled “Annotations”| Hint | Value |
|---|---|
| readOnlyHint | ✓ |
| idempotentHint | ✓ |
| destructiveHint | — |
| openWorldHint | — |
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "from": { "type": "string", "minLength": 1, "description": "Starting note (e.g. \"C\", \"C4\")." }, "to": { "type": "string", "minLength": 1, "description": "Ending note (e.g. \"G\", \"G4\")." } }, "required": [ "from", "to" ], "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": { "name": { "type": "string", "description": "Interval name like \"5P\", \"3M\", \"7m\"." }, "semitones": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "Distance in semitones (signed)." }, "quality": { "type": "string", "description": "Interval quality: \"P\", \"M\", \"m\", \"d\", \"A\", etc." }, "number": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "Interval number (1=unison, 5=fifth, etc.)." } }, "required": [ "name", "semitones", "quality", "number" ], "additionalProperties": false}