Skip to main content
Glama

get_category_playlists

Retrieve Spotify playlists for a specific browse category by providing its category ID. Use to explore playlists within any music genre or mood category.

Instructions

Get playlists for a browse category (GET /browse/categories/{id}/playlists)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoResults per page, 1–50. Default: 20
offsetNoOffset. Default: 0
countryNoISO 3166-1 alpha-2 country code
category_idYesCategory ID (from get_categories)
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 provided, the description carries the full burden of behavioral disclosure. The '(GET /browse/categories/{id}/playlists)' endpoint reference does usefully signal that this is a read-only operation, which is the key safety-relevant trait. However, it discloses nothing further — no pagination behavior across pages, no country-availability caveats, no note about how response_format changes output shape. The GET signal earns partial credit, but the rest is left to the schema.

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?

A single sentence with the verb and resource front-loaded, plus a parenthetical endpoint reference that earns its place by pinning the exact API call. No filler words, no repetition of schema content. This is appropriately minimal without being under-specified.

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?

Given the moderate complexity (6 params, 1 required), the rich 100%-covered schema carries most of the invocation burden, and the description handles the core purpose. But with no annotations and no output schema, the description is thin: it omits usage guidance, pagination expectations across the limit/offset/max_results interplay, and any behavioral caveats. It is minimally viable but has clear gaps for such a tool in a large toolset.

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 six parameters thoroughly, including defaults, ranges, enums, and the source of category_id. The description adds no parameter-level meaning beyond the general 'for a browse category' scope. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description states a specific verb and resource: 'Get playlists for a browse category', which clearly identifies the operation. The endpoint reference (GET /browse/categories/{id}/playlists) adds precision and implicitly distinguishes this from siblings like get_categories (which returns categories, not playlists) and get_playlist (a single playlist by ID). However, it does not explicitly contrast with related siblings such as browse_category_deepdive, so it misses the top bar for sibling differentiation.

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 offers no guidance on when to use this tool versus alternatives — no mention of get_categories for discovering category IDs, no exclusions, and no note on when browse_category_deepdive would be more appropriate. The only hint is buried in the schema's category_id description ('from get_categories'), which is not part of the description itself. An agent picking between the many playlist- and category-related siblings gets no routing help.

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