Skip to main content
Glama

Spotify charts

get_chart
Read-onlyIdempotent

Spotify Charts by country: top_tracks (Top 200), viral_tracks (Viral 50, daily only), top_artists or top_albums. Each entry has rank, previous and peak rank, days (or weeks) on the chart, movement and, for top_tracks, the streams in that period. Defaults to the latest published daily chart.

Input Schema

NameRequiredDescriptionDefault
dateNoChart date YYYY-MM-DD; omit for the latest published chart.
chartNoWhich chart.top_tracks
limitNoEntries to return (1-200).
periodNoDaily or weekly chart (viral_tracks is daily only).daily
countryNo'global' or a 2-letter country code, e.g. 'us', 'br', 'mx'.global
include_play_countsNotop_tracks / viral_tracks: add each track's lifetime play count (slower).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/openWorld safety, and the description adds real context beyond them: viral_tracks is daily-only and include_play_counts is slower. That 'slower' note and the default-to-latest behavior are the kind of operational detail annotations cannot express.

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?

Three tight sentences: resource and chart types first, entry fields second, default last. No filler and no repetition of annotation-declared safety traits.

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?

With no output schema, the description correctly spends its words describing the shape of each entry (rank, previous/peak rank, days/weeks, movement, streams). Defaults are covered; only edge behaviors such as out-of-range dates or empty results are unaddressed.

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?

Schema coverage is 100%, so the baseline is 3; the description adds meaning by tying period to output units ('days (or weeks) on the chart') and noting streams are only present for top_tracks. That clarifies field semantics rather than repeating the schema.

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+resource ('Spotify Charts by country') and enumerates the four chart types it returns, which cleanly separates it from siblings like get_tracks or get_artist_overview. An agent can tell what this returns without opening the schema.

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?

Explains the default behavior ('defaults to the latest published daily chart') and flags the viral_tracks daily-only constraint, which guides selection among the chart enum values. It doesn't name alternative tools or state exclusions, but the chart-type mapping functions as implicit routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.