Skip to main content
Glama

statsfm_top_tracks_from_album

Retrieve a user's most-played tracks from a specific album using stats.fm listening data. Specify user and album IDs to get ranked track statistics.

Instructions

A user's top tracks from one album

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo1–100. Default: 10
rangeNoRanking window. Default: lifetime
offsetNoStart position (0-based). Default: 0
user_idYesstats.fm user id or customId (e.g. "martijn")
album_idYesstats.fm album id
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. Addedv1.29.0

TDQS

C2.5/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. It does not state that this is a read-only query, nor does it disclose defaults (limit 10, range lifetime), pagination behavior, response format, or any authorization requirements. The read-like nature is only implied by the word 'top tracks,' never made explicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with no filler words, and every word does contribute to identifying the resource. However, it is an under-specified noun phrase that omits a verb and any operational context, so its brevity comes at the expense of substance for a tool with seven parameters.

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?

For a tool with 7 parameters, no annotations, and no output schema, the description is incomplete. It does not explain return values, ranking windows, defaults, or how it differs from closely related siblings in a long list of statsfm tools. An agent would need to infer nearly everything from parameter names and enum values, which is insufficient for reliable selection and 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 100%, so the input schema already documents all seven parameters including bounds, enums, defaults, and the meaning of user_id and album_id. The description adds nothing about parameters; the phrase 'one album' loosely suggests a single album_id, but the schema already conveys this, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun phrase that largely restates the tool name: 'A user's top tracks from one album.' It does identify the resource (a ranked list of tracks from a single album for a given user) and hints at differentiation from siblings like statsfm_top_tracks or statsfm_top_tracks_from_artist, but it lacks a verb and never states the operation or what is returned, so it adds little beyond the name.

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 such as statsfm_top_tracks, statsfm_top_tracks_from_artist, or statsfm_album_stats. The description does not mention recommended scenarios, exclusions, or how this tool relates to the other statsfm ranking tools, so an agent must infer usage purely from the name.

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