Skip to main content
Glama

SampLab Pro

Analyze & Transpose Chord Progression

analyze_chord_progression
Read-onlyIdempotent

Detect the most likely musical key, map Roman numeral functional harmony and chord tones, transpose to any target key or semitone offset, and compute guitar capo shapes for a chord progression.

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": {
      "chords": "<chords>"
    },
    "name": "analyze_chord_progression"
  }
}

Input Schema

NameRequiredDescriptionDefault
chordsYesOrdered list of chord symbols, e.g. ["Am", "F", "C", "G"] or ["Cmaj7", "Dm7", "G7"].
capo_fretNoOptional guitar capo fret (1-11) to compute relative open chord shapes.
target_keyNoOptional target tonic to transpose to (e.g. "G", "Bb", "Em"). Ignored if transpose_semitones is set.
transpose_semitonesNoOptional transposition offset in semitones (-11 to 11).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds one genuinely useful nuance with "most likely musical key," signaling heuristic ambiguity in the result. It says nothing about behavior on unrecognized chord symbols, whether optional transforms are skipped when omitted, or what the response contains.

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?

A single front-loaded sentence that enumerates the tool's capabilities in a logical analysis-to-transform order. Every clause maps to a real parameter or output capability; there is no filler or repetition of the title.

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?

Covers all four parameters' purpose and the computational pipeline, which is appropriate for a read-only analysis tool whose annotations carry the safety profile. The remaining gap is that no output schema exists and the description never sketches the return shape (key, numerals, transposed chords, capo shapes), leaving the agent to infer the result structure.

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%, and the schema already documents chord list format, capo fret range, target_key with its transpose_semitones precedence rule, and offset bounds. The description only restates the capabilities those parameters enable ("transpose to any target key or semitone offset", "guitar capo shapes"), adding no format or behavioral detail beyond the schema.

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?

Names four specific operations (key detection, Roman numeral/functional mapping, transposition, capo shape computation) on a concrete resource (a chord progression). An agent can immediately tell this is a music-theory analysis tool and distinguish it from inspect_midi, midi_to_musicxml, and plan_audio_workflow without opening any schema.

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

Usage Guidelines3/5

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

Usage is implied by the description: it is for chord progressions supplied as symbol lists. There is no explicit when-to-use/when-not-to-use framing, no mention of when to prefer this over the MIDI-oriented siblings, and no statement about what counts as an invalid or unsupported input.

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