Skip to main content
Glama
rollecode

lastfm-mcp

by rollecode

get_similar_tracks

Read-onlyIdempotent

Find similar tracks on Last.fm by artist, track, or MusicBrainz ID. Get a ranked list of recommendations, with optional autocorrect for misspellings.

Instructions

Get tracks similar to this one, most similar first.

Args: artist: Artist name. Required unless mbid is given. track: Track name. Required unless mbid is given. mbid: MusicBrainz id for the track. limit: How many similar tracks to return. autocorrect: Let Last.fm fix a misspelled artist or track name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mbidNo
limitNo
trackNo
artistNo
autocorrectNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already provide readOnlyHint, idempotentHint, and destructiveHint. The description adds that results are sorted 'most similar first' and that autocorrect can fix misspelled names, which add value beyond annotations. However, it does not mention any potential latency, rate limiting, or the fact that it might call an external API, which would be useful context.

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 concise and well-structured, with a one-line summary followed by a clear list of parameters. Each sentence serves a purpose, and the key usage condition ('Required unless mbid is given') is front-loaded. No fluff or redundant 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?

Given the tool's moderate complexity (5 params, no required params), the description is complete: it covers what the tool returns (similar tracks, most similar first), the parameter combinations, and autocorrect behavior. The presence of an output schema also reduces the need to explain return values, so nothing essential 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 0%, so the description must compensate. It does explain the purpose of each parameter, including the conditional requirement for artist/track vs mbid, and the meaning of autocorrect. This is more than the bare schema provides, effectively covering the 5 parameters.

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 clearly states the tool's function: 'Get tracks similar to this one, most similar first.' This is a specific verb ('Get') with a resource ('tracks similar to this one') and an ordering detail. It is easily distinguished from sibling tools like get_track, get_similar_tags, or get_user_recent_tracks, all of which have different resources.

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?

The description provides clear context for use: it is about finding similar tracks, which is not covered by other tools like get_track or get_similar_artists. However, it does not explicitly state when not to use it or mention alternatives, so it lacks explicit exclusionary guidance.

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