Skip to main content
Glama

check_in_library

Check if Spotify tracks, albums, episodes, shows, audiobooks, artists, users, or playlists are saved in or followed by the user. Returns a boolean per URI to show library/follow status.

Instructions

Preferred. Accepts the widest URI mix (track, album, episode, show, audiobook, artist, user, playlist) in one request. Check whether items are saved in or followed by the user — this tests LIBRARY-SAVED/FOLLOWED state, distinct from check_following_artists which only tests artist FOLLOW state. Returns a boolean per URI via Spotify's unified endpoint. Max 40. To follow/unfollow artists use follow_artists/unfollow_artists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urisYesSpotify URIs to check (accepts tracks, albums, episodes, shows, audiobooks, artists, users, playlists)
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
Behavior4/5

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

Annotations are absent, so the description carries the behavioral disclosure burden. It discloses the response shape ('Returns a boolean per URI'), the endpoint type ('Spotify's unified endpoint'), the accepted URI mix, and the batch limit (Max 40). It implies read-only behavior via 'Check', though it does not explicitly say it has no side effects.

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 compact and front-loaded with the most important guidance ('Preferred'), followed by scope, behavioral distinction, output, and limit. Every sentence contributes either selection guidance or call semantics.

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?

The tool is simple and the schema covers all parameters, while the description covers output shape and the main sibling distinction. It could add batching/pagination guidance for more than 40 URIs, but nothing essential is missing for correct 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 schema already documents uris, max_results, and response_format. The description adds useful context around accepted URI kinds and the 40-item cap, but does not add meaningful semantics beyond what the schema already provides.

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?

States a specific verb and resource: 'Check whether items are saved in or followed by the user' and clarifies it tests 'LIBRARY-SAVED/FOLLOWED state'. It explicitly distinguishes itself from check_following_artists, so an agent can tell the tools apart without opening schemas.

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

Usage Guidelines5/5

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

Description is explicit about when to prefer this tool ('Preferred', 'widest URI mix ... in one request'), names the alternative it should not be confused with (check_following_artists), and routes mutation intent to follow_artists/unfollow_artists. This gives clear selection guidance.

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