Skip to main content
Glama

Get tracks

get_tracks
Read-onlyIdempotent

Track details for up to 50 tracks in one call: name, artists, album, release date, duration, explicit flag, popularity, ISRC and (by default) lifetime play count. include_insights adds genres, moods, activities, BPM, credits, lyrics flag and languages. A play count of 0 means fewer than 1,000 plays.

Input Schema

NameRequiredDescriptionDefault
tracksYesSpotify track ids, spotify:track:<id> URIs or open.spotify.com/track/<id> URLs (1-50).
include_insightsNoAdd genres, moods, BPM, credits and languages (slower).
include_play_countsNoAdd each track's lifetime play count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so safety is covered; the description instead adds genuinely new behavior: the 'slower' performance cost of include_insights and the default-on play counts. The 'play count of 0 means fewer than 1,000 plays' note is a valuable data-semantics disclosure that prevents a likely misinterpretation.

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 dense sentences with zero filler; the core capability and the field list come first, followed by the optional-insights expansion and the one edge-case caveat. Every clause carries information.

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 appropriately enumerates the returned fields and covers defaults, performance cost, and the play-count edge case. It is silent on what happens when some of the supplied IDs are invalid (error vs. partial result), which matters for a 50-item batch call.

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 baseline is 3; the description still earns above baseline by explaining what include_insights actually returns and by clarifying that 0 is a bucketed value, not a literal zero. It does not add anything about accepted ID formats beyond what the schema already documents.

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?

States a specific verb+resource ('Track details') and enumerates the returned fields, making the scope concrete. The batch framing ('up to 50 tracks in one call') distinguishes it from the single-track siblings get_track_insights and get_track_play_count, though it never names those siblings explicitly.

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?

Usage is implied rather than stated: 'include_insights adds genres, moods... (slower)' signals a performance trade-off, and the default behavior of include_play_counts is clear. There is no explicit when-to-use-this-vs-sibling guidance, e.g. no routing to get_track_play_count for a single track's plays.

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.