Skip to main content
Glama

get_saved_albums

Retrieve albums saved in your Spotify library, with options to paginate results or fetch the entire collection (up to 500 items).

Instructions

Get albums saved in the user's library. Set fetch_all=true to retrieve the entire collection (capped at 500 items).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo1–50. Default: 20
marketNoISO 3166-1 alpha-2 country code
offsetNoPagination offset. Default: 0
fetch_allNoFetch all pages instead of one page (ignores limit/offset; capped at 500 items)
Behavior3/5

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

With no annotations provided, the description must carry the behavioral burden. It discloses the fetch_all behavior and the 500-item cap, but this information is already present in the input schema for fetch_all. It does not explicitly state that a default single page is returned without fetch_all (though implied), nor does it mention any auth or side effects. For a read-only getter, this is adequate but not rich.

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 sentences with no filler. The purpose is front-loaded, followed by the one special behaviour (fetch_all). Every word earns its place, and the structure is clean and scannable.

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?

For a simple getter with no output schema and full parameter documentation, the description is sufficient. It clearly states the operation and the special fetch_all option. It does not describe return format or pagination defaults, but those are not necessary given the schema coverage.

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 schema already documents all four parameters (limit, market, offset, fetch_all) with descriptions and defaults. The description adds no new parameter semantics beyond repeating the cap for fetch_all. Baseline 3 is appropriate because the schema does the heavy lifting.

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 specific verb ('Get') and resource ('albums saved in the user's library'), which clearly distinguishes it from sibling tools like get_saved_tracks or get_saved_shows. It also mentions the fetch_all behavior that sets this apart from a simple page fetch.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance on when to use fetch_all (to retrieve the entire collection) and notes the cap at 500 items. It does not explicitly name alternatives for saved tracks/shows, but the resource name and context make that obvious. Minimal exclusions, but enough context for an agent to decide when to invoke.

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