Skip to main content
Glama

get_top_artists

Retrieves the user's most-played artists over a specified time range, with options to limit the number of results.

Instructions

Get the user's most-played artists

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo1–50. Default: 20
offsetNoStart position (0-based). Default: 0
time_rangeNo~4 weeks / ~6 months / all time. Default: medium_term
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.26.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / max_results
      Added value: +{
      +  "description": "Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)",
      +  "exclusiveMinimum": 0,
      +  "maximum": 2000,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Start position (0-based). Default: 0",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / response_format
      Added value: +{
      +  "default": "concise",
      +  "description": "'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object",
      +  "enum": [
      +    "concise",
      +    "detailed",
      +    "json"
      +  ],
      +  "type": "string"
      +}
  2. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, but it is a single factual phrase that adds nothing beyond the tool name. The word 'Get' implies a read-only operation, and the schema documents parameters, but the description does not disclose output format behavior, pagination, or that it operates on the currently authorized user's history. Nearly nothing is communicated beyond what the name already implies.

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?

Six words in a single sentence, perfectly front-loaded with the action and resource. There is zero filler. It lost one point because the brevity crosses into under-specification — the sentence is clear but sparse for a tool with five optional parameters and overlapping siblings.

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?

With no annotations and no output schema, the description must compensate, but it does not explain return values, response format variation, or how it differs from similar siblings like top_artists_by_range. An agent has enough to guess what the tool returns, but not enough to reliably choose it or interpret its 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 description coverage is 100%, with every parameter documented including defaults and constraints (limit 1–50 default 20, offset 0-based, time_range enum with duration meanings, response_format enum). Per the rubric, the baseline is 3 when the schema does the heavy lifting; the description itself adds no parameter-level meaning.

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 uses a specific verb ('Get') and a concrete resource ('the user's most-played artists'), so an agent can tell at a glance what data this returns. It is distinct from get_top_tracks (tracks vs. artists) and get_artist_top_tracks (tracks for one specific artist). However, it offers no distinction from the near-identically named sibling top_artists_by_range, so it loses the fifth point.

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?

There is no guidance on when to use this tool versus alternatives. The sibling list contains overlapping tools such as top_artists_by_range, get_top_tracks, and listening_streaks, and the description gives no selection criteria, exclusions, or context about the user scope it operates on.

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

Deploy Server

Other Tools