Skip to main content
Glama

Keyshift Chord Transposer

Transpose chords

transpose_chords
Read-onlyIdempotent

Use this when you want to transpose chords or change the key of a song. Accepts a sheet up to 12,000 characters, chords above lyrics or ChordPro brackets; choose semitones -11 to +11, from_key with to_key, or capo_fret 0 to 9. Returns key change, chord mapping, widget sheet and a monospaced PDF. Chord names only; does not process audio, tablature or staff notation. Key estimates can be wrong for songs that change key.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sheet": "<sheet>"
    },
    "name": "transpose_chords"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetYesChord sheet of 1 to 12,000 characters, with chords above lyrics or inline; for example C G\nLanterns glow, or [Am]Lantern [F]garden.
titleNoPDF title up to 80 characters; for example Lantern Garden.
to_keyNoTarget key paired with from_key; for example from_key C and to_key F. Use this instead of semitones or capo_fret.
from_keyNoOrigin key; for example C or Am. Required with to_key; otherwise the header or first and last chords give a key estimate.
spellingNoChord spelling; for example auto follows the target key, while sharps forces F# instead of Gb for consistent round trips.
capo_fretNoCapo fret from 0 to 9; for example 2 returns shapes two semitones below the sounding key. Use this instead of semitones or to_key.
semitonesNoSigned shift from -11 to +11; for example 2 moves up two semitones. Give one transposition choice.

Output Schema

NameRequiredDescriptionDefault
capoYes
gapsYes
kindYes
modeYes
notesYes
in_keyYes
to_keyYes
from_keyYes
downloadsYes
semitonesYes
chord_countYes
chords_usedYes
lyric_linesYes
key_estimatedYes
unique_chord_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / title / description
      Previous value: -"PDF title up to 80 Western Latin characters; for example Lantern Garden."New value: +"PDF title up to 80 characters; for example Lantern Garden."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, which already declare read-only, idempotent, non-destructive, and closed-world behavior, the description adds substantial context: input size limit, accepted chord-sheet formats, mutually exclusive transposition modes, returned artifacts, unsupported content, and the caveat that key estimates can be wrong for modulating songs.

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?

The description is front-loaded with the primary use case, then compactly covers input constraints, transposition choices, return values, and limitations. Every sentence contributes useful information without redundancy.

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

Completeness5/5

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

Given seven parameters, full schema coverage, existing annotations, and an output schema, the description is complete enough to invoke the tool correctly. It covers input formats, size limits, transposition mode selection, return artifacts, unsupported inputs, and an important accuracy caveat.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents each parameter's meaning, ranges, and mutual exclusivity. The description summarizes the same semitones/from_key+to_key/capo_fret choices but adds no meaningful parameter semantics beyond what the schema provides.

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 clearly states a specific verb and resource: transpose chords or change the key of a song. It also scopes the tool to chord names only and excludes audio, tablature, and staff notation. However, it does not explicitly differentiate this tool from the sibling tools find_capo_options or show_chord_sheet.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear use case ('when you want to transpose chords or change the key') and explains the three transposition modes: semitones, from_key with to_key, or capo_fret. It also lists when-not conditions (no audio, tablature, staff notation) but does not name sibling alternatives or say when to prefer them.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources