Skip to main content
Glama

spotify_get_artist_top_tracks

Retrieve an artist's top tracks on Spotify by providing their artist ID. Optionally specify a market country code for localized results.

Instructions

Get an artist's top tracks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketNoISO 3166-1 alpha-2 country code (e.g., 'US')
artist_idYesThe Spotify ID of the artist
Behavior1/5

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

No annotations are provided, and the description does not disclose any behavioral traits (e.g., number of tracks returned, whether market affects results, or if authentication is needed). This is a critical gap for a read operation.

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

Conciseness3/5

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

The description is a single sentence, extremely concise. However, it is too brief, sacrificing essential details for brevity. It could include more context without becoming verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of an output schema, the description should explain what is returned (e.g., a list of track objects). It fails to do so, leaving the agent without sufficient context about the tool's output.

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 coverage is 100% with clear parameter descriptions. Baseline is 3, and the description adds no extra meaning beyond the schema. It does not describe how parameters like 'market' influence the top tracks.

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?

The description clearly states it gets an artist's top tracks using verb 'Get' and specific resource. It is not misleading and differentiates from sibling tools that get album info or track details, though it could be more specific about 'top' meaning popularity-based.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus other artist-related tools like spotify_get_artist_info or spotify_get_artist_name. The description implies usage for retrieving popular tracks but does not specify context or exclusions.

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/LLMTooling/spotify-mcp-server'

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