Skip to main content
Glama
Stipe15

spotify-mcp

by Stipe15

get_top_tracks

Read-only

Retrieve your most-played tracks from Spotify based on listening history for a chosen time range.

Instructions

The user's most-played tracks over a time window (short_term=~4 weeks, medium_term=~6 months, long_term=~1 year). Spotify's own affinity ranking from listening history — not a live popularity/trending signal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
time_rangeNomedium_term

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hrefNo
nextNo
itemsNo
limitNo
totalNo
offsetNo
previousNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true; the description adds meaningful behavioral context by documenting the three time windows and clarifying that results are affinity-based history, not current popularity. Return-format details are covered by the output schema, so the lack of pagination prose is not a significant gap.

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?

Two sentences, front-loaded with the core function, and each clause adds useful information. The negative clarification is compact and earns its place.

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?

For a low-complexity, read-only tool with an output schema and no required parameters, the description is nearly sufficient. It could be more complete by briefly noting pagination semantics for limit/offset, but nothing critical blocks correct invocation.

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 description coverage is 0%, so the description must compensate. It does explain the important time_range parameter with concrete windows, but leaves limit and offset entirely to inference from their names. Partial compensation only.

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?

States a specific verb and resource: retrieve the user's most-played tracks over a time window. It also adds a distinguishing qualifier ('Spotify's own affinity ranking... not a live popularity/trending signal') that sets it apart from recent-listening or trending-style sibling tools.

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?

Implies usage for historical listening affinity rather than live trends, but does not name alternatives or give explicit when-to-use/when-not-to-use guidance. The 'not a live popularity/trending signal' clause is an implicit exclusion only.

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

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

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