Skip to main content
Glama

search_saved_tracks

Search your Spotify Liked Songs by matching track, artist, or album text, and refine by artist, album, added date, or sort order to find the exact saved track.

Instructions

Search your Liked Songs (saved tracks) by text query and optional facets — client-side filter over a bounded walk of /me/tracks. For catalog-wide search use search. Reports walk truncation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
albumNoFilter to tracks where album name contains this substring
limitNoMax results to return
queryNoSubstring to match against track name, artist name, or album name (case-insensitive). Omit to list by facets/sort only.
artistNoFilter to tracks where any artist name contains this substring
sort_byNoSort orderadded_desc
max_itemsNoHow many saved tracks to walk (default SPOTIFY_MCP_FETCH_ALL_CAP)
added_afterNoISO date — only tracks added after this date
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
added_beforeNoISO date — only tracks added before this date
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?

With no annotations present, the description carries the full disclosure burden and does substantial work: it states the operation is a client-side filter rather than a server-side search, discloses the bounded walk of /me/tracks, and explicitly promises to 'Reports walk truncation' — protecting the agent from silently incomplete results. It omits performance or rate-limit caveats for large libraries, but the core behavioral risks are covered.

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?

Three sentences, each earning its place: purpose+mechanism, sibling routing, and the truncation caveat. The key scoping information is front-loaded before implementation detail, with zero filler.

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 10-parameter tool with full schema descriptions and no output schema, the description addresses the two things an agent most needs beyond the schema: what makes this tool different from catalog search, and the correctness caveat about bounded walking. The response_format choices are documented in the schema. A brief note on the cost of larger max_items walks would round it out, but nothing essential is missing.

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 covers 100% of parameters with individual descriptions, so the baseline of 3 applies. The description adds a conceptual grouping — 'by text query and optional facets' — that maps query to the query parameter and album/artist/added_* to facets, which slightly aids selection but adds no syntax detail 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?

Description opens with a specific verb and resource ('Search your Liked Songs (saved tracks)') and names the exact mechanism ('client-side filter over a bounded walk of /me/tracks'). The explicit contrast with catalog-wide `search` distinguishes it from the many search_* siblings without needing to open the schema.

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?

Explicitly directs agents away from this tool for catalog-wide queries: 'For catalog-wide search use search.' The 'client-side filter over a bounded walk' phrasing implies a cost model (local walk, not server-side index), which helps an agent decide when a server-side search sibling is cheaper. It does not contrast with get_saved_tracks or the other search_saved_* siblings, though their resource-type differences are inferable from names.

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