Skip to main content
Glama

get_category_playlists

Retrieve playlists for a Spotify browse category by ID. Specify category, limit, offset, country, and format for tailored results.

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, e.g. 'US' (alias: market)
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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.28.0
    • changedInput schema / properties / country / description
      Previous value: -"ISO 3166-1 alpha-2 country code"New value: +"ISO 3166-1 alpha-2 country code, e.g. 'US' (alias: market)"
    • addedInput schema / properties / country / pattern
      Added value: +"^[A-Za-z]{2}$"
  2. Addedv1.26.1

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description must carry the behavioral burden, but it only states a read operation and endpoint. It does not disclose auth requirements, pagination behavior, response_format effects, or the relationship between limit and max_results, all of which are relevant to how the call behaves.

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?

One sentence, front-loaded with verb and resource, and the endpoint adds disambiguating detail without waste. Every element earns its place.

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?

For a simple read with fully documented parameters this is mostly sufficient, and no output schema means return-format detail is not required. But it lacks any guidance about when to choose it over related browse/category tools and doesn't explain category_id sourcing in the description itself, though the schema does cover it.

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 every parameter. The description adds no parameter-level meaning beyond naming category_id in the endpoint, keeping this at baseline.

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 'Get playlists for a browse category,' a specific verb and resource, and backs it with the exact endpoint path. It is distinct in resource from siblings like get_categories or get_category, though it does not explicitly name alternatives.

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 guidance on when to use this vs sibling browse/category/search tools such as get_categories or browse_category_deepdive. The only contextual hint is in the schema, where category_id is said to come from get_categories; the description itself offers no exclusions or selection criteria.

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

Deploy Server

Other Tools