Guitar Practice Routine App — Chord Charts

v0.1.0
io.github.slshults/gpra-chord-charts Checked 3 hours ago Published 3 months ago

Look up a guitar chord by name and get a text chord diagram.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_chord_chart_by_name Get a chord chart by name

Look up one guitar chord chart by name and return it as a text chord diagram ready to show the user. Returns the same single voicing that https://guitarpracticeroutine.com/find-a-chord-chart shows for that name. The library holds 12,708 standard-tuning (EADGBE) chord names, exactly one voicing each. Pass a plain chord name as it would be written on a chart — "G", "Am7", "Cmaj7", "D/F#", "F#m7b5" — not a sentence. Convert spoken forms yourself first: "G major" is "G", "A minor" is "Am", and use "#" and "b" rather than the unicode sharp and flat signs. Charts are drawn on a five-fret grid st…

ParameterTypeDescription
name *stringA single chord name as written on a chart, e.g. "Am7" or "D/F#".
formatstringWhich representations to return. Defaults to "text", which includes a direct URL to a PNG of the chart — embed that where your surface renders images. Use "image" or "both" only if you need the PNG…

get_chord_chart_by_id Get a chord chart by id

Fetch one specific chord voicing by its numeric id, as returned by get_chord_chart_by_name. Use this to re-render a chart the user already saw without looking it up again.

ParameterTypeDescription
id *integerNumeric chord id.
formatstringWhich representations to return. Defaults to "text", which includes a direct URL to a PNG of the chart — embed that where your surface renders images. Use "image" or "both" only if you need the PNG…

get_chord_of_the_day Chord of the day

Return today's Chord of the Day from Guitar Practice Routine App — the same chord posted to the app's Bluesky and Facebook feeds that day. Useful as a practice prompt or a daily nudge for someone learning chords.

ParameterTypeDescription
formatstringWhich representations to return. Defaults to "text", which includes a direct URL to a PNG of the chart — embed that where your surface renders images. Use "image" or "both" only if you need the PNG…