Skip to main content
Glama
jamiew

Spotify MCP Server

get_track_info

Retrieve detailed metadata, including release dates, for one or more Spotify tracks. Supports batch lookup of up to 50 tracks per API call.

Instructions

Get detailed information about one or more Spotify tracks.

Args:
    track_ids: Single track ID or list of track IDs (up to 50)

Returns:
    Dict with 'tracks' list containing track metadata including release_date.
    For single ID, returns {'tracks': [track]}.

Note: Batch lookup is much more efficient - 50 tracks = 1 API call instead of 50.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_idsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description must disclose behavioral traits. It explains the return format (dictionary with 'tracks' list and metadata including release_date) and behavior for single vs. multiple IDs. It does not mention any destructive side effects, which is appropriate 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.

Conciseness4/5

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

The description is well-structured with an Args section, Returns section, and a note. It is reasonably concise, though the Args section could be integrated into a single sentence. Overall, it is efficient and front-loaded.

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 that an output schema exists (context signal), the description explains the return structure adequately. It covers parameter constraints and efficiency guidance, making the tool complete for its purpose.

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 input schema only defines track_ids as string or array of strings with no descriptions, giving 0% coverage. The description adds critical semantics: 'Single track ID or list of track IDs (up to 50),' which clarifies the parameter's usage and constraints.

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 'Get detailed information about one or more Spotify tracks,' which is a specific verb+resource. It distinguishes itself from sibling tools like get_album_info and get_artist_info by focusing on tracks.

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 includes a clear efficiency note: 'Batch lookup is much more efficient - 50 tracks = 1 API call instead of 50,' which guides the agent on when to batch. However, it does not explicitly mention when not to use this tool or alternatives.

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

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