Skip to main content
Glama
freddy24-7

spotify-mcp-server

by freddy24-7

get_current_track

Retrieves details about the currently playing Spotify track and returns metadata including the track URI, enabling other tools to use the current track.

Instructions

Retrieve information about the track currently playing on Spotify.

Returns structured metadata including the track URI, which is needed by other tools such as add_to_queue and get_recommendations.

Returns

dict Keys: is_playing, track_name, artists, album, duration_ms, progress_ms, track_url, track_uri. Returns {"is_playing": False} when nothing is playing.

Raises

spotipy.SpotifyException Propagated if the Spotify API returns a non-2xx response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/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 details the exact return structure, includes the empty-state behavior ('Returns {"is_playing": False} when nothing is playing'), and explicitly documents the spotipy.SpotifyException raises condition. This is comprehensive transparency beyond what a typical tool description offers.

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 clear first sentence and dedicated Returns/Raises sections. It is not overly verbose, though the detailed Returns list may be partially redundant if an output schema exists. Overall, it is organized and front-loaded with the core purpose.

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?

Despite having no annotations and no parameters, the description is complete: it covers the purpose, return structure, empty state, exception behavior, and relationship to other tools. The output schema may already describe return values, but the description adds essential behavioral context, making it sufficiently complete for an agent to use the tool effectively.

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 tool has zero parameters, so the schema fully covers inputs. The baseline for 0-param tools is 4, and since there are no parameter semantics to explain, this score is appropriate.

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: 'Retrieve information about the track currently playing on Spotify.' This is a specific verb+resource combination that distinguishes it from sibling tools, and it further differentiates itself by noting the track URI is needed by other tools like add_to_queue and get_recommendations.

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 clearly implies when to use this tool—when you need current track information or the track URI for downstream tools. It names dependent tools and states the URI 'is needed by other tools,' providing practical context. However, it does not explicitly list exclusions or alternative tools when this tool would not be appropriate.

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/freddy24-7/MCP-Spotify'

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