Skip to main content
Glama

Look up a song’s key by title

find_song_key
Read-onlyIdempotent

Look up the key, tempo (BPM) and typical vocal range of a well-known song by its title, in Tera Studio's song list (key and tempo from AcousticBrainz's analyses of the recording). Returns the key with its relative key, how many analyses agree on it, the BPM when they agree, an estimated range, and links to the song's page and to the key changer. Use it when someone names a song and asks its key or tempo, or whether it suits their voice. Pass semitones if they want it higher or lower. A song outside the list comes back as not found, with the key finder and key changer for a file they have.

Input Schema

NameRequiredDescriptionDefault
titleYesThe song's title, without the artist.
artistNoWho sings it, if the person said; it picks between songs that share a title.
semitonesNoHow far to move the song for their voice, from -6 to 6 semitones; negative is lower. Leave it out to keep the original key.

Output Schema

NameRequiredDescriptionDefault
songYes
foundYes
shiftedYes
song_pageYes
key_finderNo
key_changerYes
other_matchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description goes well beyond them: data provenance (AcousticBrainz recording analyses), agreement count across analyses, BPM only when analyses agree, estimated vocal range, returned links, and explicit not-found behavior. That is rich behavioral context for a lookup tool.

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?

Four sentences, front-loaded with purpose, then usage, then parameter guidance, then failure behavior. No redundant restatement of the title or annotations; every sentence carries information.

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?

Despite an output schema existing, the description still explains the meaningful return elements (relative key, agreement count, BPM, range, links) and the not-found fallback. Combined with the fully described schema and safe-read annotations, an agent has what it needs to call this correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds intent-level meaning: semitones is framed as 'if they want it higher or lower' for voice suitability, and title lookup is framed as identifying a song rather than a free-text query. The artist parameter is left to the schema, which already explains its disambiguation role.

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?

States a specific verb and resource (look up key, tempo and vocal range of a song by title) plus the backing source (AcousticBrainz analyses in Tera Studio's list). However, it does not acknowledge the sibling find_song_key_and_tempo, which also returns tempo, or shift_song_key, which also covers transposition — so the boundary between this tool and its siblings stays blurry.

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?

Gives a clear triggering context ('when someone names a song and asks its key or tempo, or whether it suits their voice') and a secondary case for the semitones parameter. It stops short of saying when NOT to use it or naming the overlapping alternatives (find_song_key_and_tempo, shift_song_key).

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