Skip to main content
Glama

FreqBlog Music Metadata

Get Related Artists

get_related_artists
Read-only

Artists related to a seed artist, in the shape of Spotify's retired GET /v1/artists/{id}/related-artists. No artist graph exists, so we derive one: build the seed artist's track-vector centroid, take its nearest catalogue tracks, aggregate by artist (each scored on its top-3 track similarities so a prolific artist can't dominate) plus a same-genre lift and a cross-genre penalty.

Returns `artist`, `count`, and `related` (each {artist_name, score, match_count,
sample_track_id}). Pass a sample_track_id straight to get_audio_features or
suggest_next_track. Costs 2 quota units.

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of related artists to return (default 20).
artistYesSeed artist name (as it appears in the catalog; case-insensitive).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, openWorld, non-destructive), and the description goes well beyond them: it discloses that no artist graph exists, explains the borrowed-data approximation, details the scoring adjustments (top-3 track similarities, same-genre lift, cross-genre penalty), and states a concrete cost of 2 quota units.

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?

It is front-loaded (purpose first, then derivation, then return shape, then chaining, then cost) and the algorithmic sentences earn their place by explaining how to interpret scores. It is slightly long for a two-parameter tool, and the return-shape sentence partly duplicates the existing output schema.

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?

For a derived-recommendation tool, the description covers origin of the data, scoring rationale, output fields, chaining, and cost. An output schema exists so return values need not be spelled out, and the only real gap is the numeric range/interpretation of `score`.

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 both `artist` and `limit` are already documented in structured fields, and the description adds no syntax or format detail beyond calling it a "seed artist." Baseline 3 is appropriate since the schema does the heavy lifting.

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?

The description opens with a specific verb+resource ("Artists related to a seed artist") and pins down the exact output contract (Spotify's retired related-artists shape). The derivation detail (track-vector centroid -> nearest tracks -> artist aggregation) makes it unmistakable versus siblings like get_recommendations or suggest_next_track.

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 explicit downstream routing ("Pass a sample_track_id straight to get_audio_features or suggest_next_track"), which tells the agent where to go next. It does not, however, say when to prefer this over get_recommendations or suggest_next_track for artist discovery, so the choice between recommendation-type siblings is left to inference.

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