Skip to main content
Glama

saved_albums_by_label

Group saved albums by record label and rank labels by album count to identify which labels dominate your music library.

Instructions

Group your saved albums by record label (from each album payload) and rank labels by count. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scan_capNoMax saved items to walk per paginated source (default: SPOTIFY_MCP_FETCH_ALL_CAP)
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
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does state 'Read-only,' which is a useful safety hint. However, it omits other behaviors such as the potentially expensive walk through all saved albums (up to scan_cap), performance implications, or how results are presented. It does not mention that it aggregates from album payloads, though that is implied. The read-only disclosure is good, but more behavioral context (e.g., possibly long execution, no mutation) would be expected.

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?

The description is a single, well-structured sentence that front-loads the core purpose and includes the key constraint of 'from each album payload' and the read-only hint. There is no filler or redundancy. It earns its place perfectly.

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 no output schema and no annotations, the description is incomplete. It does not describe the structure of the returned data (beyond the response_format hint), nor does it warn about potential long runtimes due to scanning the entire saved library. It also lacks error-handling or edge-case information (e.g., albums without a label). Given the complexity of walking a large library, more context would be necessary for an agent to use it safely and efficiently.

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?

The input schema provides 100% coverage with descriptive text for all three parameters (scan_cap, max_results, response_format), so the baseline is 3. The tool description adds no additional meaning beyond what the schema already states. It does not clarify how parameters interact with grouping or ranking, but the schema is sufficiently self-explanatory.

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?

The description states a clear, specific operation: grouping saved albums by record label and ranking labels by count. The verb 'group' and resource 'saved albums' are explicit, and the grouping key (record label) distinguishes it from sibling tools like saved_albums_by_year or saved_albums_by_type. No ambiguity remains about what the tool does.

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?

The description gives no guidance on when to choose this tool over alternatives. It does not mention any use cases, exclusions, or comparisons to sibling tools such as saved_albums_by_decade, saved_albums_by_type, or library_genre_report. An agent must infer applicability solely from the name, which is insufficient for optimal tool selection.

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

Install Server

Other Tools

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

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