Skip to main content
Glama

FreqBlog Music Metadata

Tag Track

tag_track
Read-only

Get a compact, HONESTLY-LABELLED tag list for a track — energy / danceability / valence / acousticness / instrumentalness (instrumental vs vocal, judged on the 30-second preview), plus a mood tag and a broad genre tag. It is a tag-shaped projection of the same open-data analysis get_audio_features returns (no audio upload, no extra compute), so it costs the same 1 quota unit, charged only on a served result.

The differentiator vs opaque taggers (e.g. Cyanite) is that EVERY tag carries its own
`confidence` and `provenance`:
  - confidence: measured (a numeric audio feature, source in provenance) | derived (MIREX mood from valence+energy) |
    model-estimated (AcousticBrainz mood SVM probability — research-grade, raw prob in `value`) |
    catalog-genre (broad catalogue tag, not fine-grained).
  - provenance: librosa | panns | valence+energy | acousticbrainz | catalog.
`value` is the [0,1] score for numeric tags and null for label-only tags (mood category, genre).

Provide AT LEAST ONE identifier: `track` (optionally with `artist`), `isrc`, `mbid`,
`spotify_id`, or `track_id` (catalog itunes_track_id). If you know several, send them all —
they resolve by precedence (`track` > `isrc` > `track_id` > `mbid` > `spotify_id`) and the
rest are ignored, so you never have to pick. The broad, reliable coverage is the
MEASURED tags from our own analysis (librosa + a PANNs-based model) over the analysed catalogue
(plus on-demand by name);
MBID/ISRC additionally reach 7.5M+ AcousticBrainz recordings WHEN you supply that identifier.

Returns { track, count, tags:[{tag, category, value, confidence, provenance}], disclaimer }.
For the full numeric feature set use get_audio_features; for nearest tracks use a discovery tool.

Input Schema

NameRequiredDescriptionDefault
isrcNoISRC, e.g. 'USUM71900001'.
mbidNoMusicBrainz recording ID (UUID). Tags come from AcousticBrainz for that exact recording.
trackNoTrack title. Use with `artist` when known. Supply AT LEAST ONE of track/isrc/mbid/spotify_id/track_id. Sending several is fine — they resolve by precedence (track > isrc > track_id > mbid > spotify_id).
artistNoArtist name. Only used with `track`; improves accuracy.
track_idNoCatalog itunes_track_id from a search_catalog or get_audio_features result.
spotify_idNoSpotify track ID, 'spotify:track:...' URI, or open.spotify.com URL. Resolved per request by reading the track's title from Spotify's public embed page and matching it against our catalogue (no Spotify IDs are stored) — a title several artists share is ambiguous and misses rather than guessing; prefer track (+artist) or isrc.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / spotify_id / description
      Previous value: -"Spotify track ID, 'spotify:track:...' URI, or open.spotify.com URL. Resolved from our Spotify-ID map or, on a miss, by matching the track's title — a title several artists share is ambiguous and misses rather than guessing; prefer track (+artist) or isrc."New value: +"Spotify track ID, 'spotify:track:...' URI, or open.spotify.com URL. Resolved per request by reading the track's title from Spotify's public embed page and matching it against our catalogue (no Spotify IDs are stored) — a title several artists share is ambiguous and misses rather than guessing; prefer track (+artist) or isrc."
  2. Changed1 schema field changed
    • changedInput schema / properties / spotify_id / description
      Previous value: -"Spotify track ID, 'spotify:track:...' URI, or open.spotify.com URL. Resolves ONLY tracks already mapped to a Spotify ID (<1% of the catalog) — prefer track (+artist) or isrc."New value: +"Spotify track ID, 'spotify:track:...' URI, or open.spotify.com URL. Resolved from our Spotify-ID map or, on a miss, by matching the track's title — a title several artists share is ambiguous and misses rather than guessing; prefer track (+artist) or isrc."
  3. Changed1 schema field changed
    • changedInput schema / properties / track / description
      Previous value: -"Track title. Use with `artist` when known. Required field is ONE of track/isrc/mbid/spotify_id/track_id."New value: +"Track title. Use with `artist` when known. Supply AT LEAST ONE of track/isrc/mbid/spotify_id/track_id. Sending several is fine — they resolve by precedence (track > isrc > track_id > mbid > spotify_id)."
  4. Changed1 schema field changed
    • changedInput schema / properties / spotify_id / description
      Previous value: -"Spotify track ID, 'spotify:track:...' URI, or open.spotify.com URL. Resolves ONLY tracks already mapped to a Spotify ID (~2.4% of the catalog) — prefer track (+artist) or isrc."New value: +"Spotify track ID, 'spotify:track:...' URI, or open.spotify.com URL. Resolves ONLY tracks already mapped to a Spotify ID (<1% of the catalog) — prefer track (+artist) or isrc."
  5. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover readOnlyHint and openWorldHint; the description adds substantial behavior beyond them: cost model ('same 1 quota unit, charged only on a served result'), no audio upload/no extra compute, and a full taxonomy of tag confidence/provenance semantics (measured vs derived vs model-estimated vs catalog-genre) plus which sources are reached per identifier type (7.5M+ AcousticBrainz recordings only when MBID/ISRC is supplied). This is well beyond annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then structured into the confidence/provenance bullets and identifier guidance, so the important material comes first. It is dense and leans on ALL-CAPS emphasis and a long single flowing paragraph in places, which costs a little readability, but nearly every sentence carries information an agent needs.

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?

For a read-only, output-schema-backed lookup tool, the description covers the gaps that matter: cost/quota, confidence semantics, identifier precedence, ambiguous-spotify_id failure mode, and coverage limits of each identifier path. Nothing an agent needs in order to call it correctly and interpret the labels is missing.

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 description coverage is 100%, so the baseline is 3. The description consolidates the resolution precedence chain and the 'send them all, we ignore the rest' behavior in one place, and flags that `artist` is only meaningful with `track`. This adds usable invocation guidance, though much of the precedence detail is already duplicated in the schema descriptions, keeping it short of a 5.

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?

States a specific verb and resource ('Get a compact, honestly-labelled tag list for a track') and enumerates exactly which tags come back (energy/danceability/valence/acousticness/instrumentalness + mood + genre). It explicitly positions itself against siblings: 'It is a tag-shaped projection of the same open-data analysis get_audio_features returns' and names get_audio_features and a discovery tool as the alternatives. An agent can distinguish it from get_audio_features without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit routing: 'For the full numeric feature set use get_audio_features; for nearest tracks use a discovery tool.' It also spells out the identifier strategy with precedence (track > isrc > track_id > mbid > spotify_id) and tells the agent to send several rather than choose. Both when-to-use and when-to-use-something-else are covered.

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