Skip to main content
Glama
elcachorrohumano

Last.fm MCP Server

get_artist_top_tracks

Retrieve an artist's most popular tracks from Last.fm data by providing the artist name, with options for MBID, autocorrection, and result pagination.

Instructions

Get an artist's most popular tracks

Args: artist: Artist name mbid: Optional MBID (MusicBrainz ID) of the artist autocorrect: Whether to use autocorrection for the artist name limit: Maximum number of results to return (1-50, default: 10) page: Page number to retrieve (default: 1)

Returns: Formatted list of the artist's top tracks

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
artistYes
mbidNo
autocorrectNo
limitNo
pageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions that the tool returns a 'formatted list' but does not specify what 'most popular' means (e.g., based on plays, charts, user ratings), whether authentication is required, rate limits, error conditions, or pagination details beyond the page parameter. The description adds minimal behavioral context beyond the basic operation.

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?

The description is well-structured with a brief purpose statement followed by categorized parameter and return explanations. It is appropriately sized and front-loaded, though the 'Args' and 'Returns' sections could be integrated more seamlessly into prose.

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?

Given the tool's moderate complexity (5 parameters, no annotations, but with an output schema), the description is fairly complete. It covers all parameters and states the return type, though it lacks details on authentication, rate limits, and the definition of 'most popular.' The output schema existence reduces the need to explain return values in depth.

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?

The schema description coverage is 0%, so the description must compensate. It provides clear semantics for all 5 parameters: artist name, optional MBID for disambiguation, autocorrection behavior, result limit with range and default, and pagination with default. This adds significant value beyond the bare schema, though it could explain the autocorrect algorithm or MBID format more.

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 purpose with a specific verb ('Get') and resource ('artist's most popular tracks'), distinguishing it from sibling tools like get_artist_info, get_artist_top_albums, or get_top_tracks which serve different functions.

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?

The description implies usage context through the parameter explanations (e.g., MBID for disambiguation, autocorrect for name variations), but does not explicitly state when to use this tool versus alternatives like get_artist_info or get_top_tracks. No exclusions or prerequisites are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elcachorrohumano/lastfm_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server