Skip to main content
Glama
Spotify MCP Server

Spotify MCP Server

by jamiew

Save Albums

save_albums
Idempotent

Add up to 20 albums to a Spotify user's library using album IDs or URIs, so chosen music stays available for later playback.

Instructions

Save albums to the user's library.

Args:
    album_ids: Album IDs or URIs (up to 20)

Input Schema

NameRequiredDescriptionDefault
album_idsYes

Output Schema

NameRequiredDescriptionDefault
statusYes
messageYes
snapshot_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds one genuinely useful behavioral limit ('up to 20'), but is silent on duplicate handling beyond what the idempotency hint implies, on required auth scope, and on failure behavior for invalid IDs.

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?

The purpose sentence is front-loaded and the constraint follows immediately; nothing is padded. The 'Args:' docstring artifact is slightly mechanical but does not waste the reader's attention.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanation is not needed, and the batch-size limit is a helpful addition. For a user-library mutation among many near-identical siblings, however, the definition lacks guidance on prerequisite checks, scopes, and error conditions, leaving meaningful gaps.

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 0%, so the description carries the full burden — and it does add real meaning beyond the bare array type: accepted values may be either IDs or URIs, and at most 20 may be supplied. It still omits the error/truncation behavior when more than 20 are passed, keeping it below a 5.

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 and resource ('Save albums to the user's library'), which is unambiguous on its own. It does not, however, distinguish itself from the closely related siblings get_saved_albums, remove_saved_albums, and check_saved_albums, so the agent must infer the boundary from names alone.

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?

No when-to-use guidance is given: nothing says whether to call check_saved_albums first, how this differs from remove_saved_albums, or what scope/auth the operation requires. Usage is only implied by the verb 'save'.

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