Skip to main content
Glama

get_categories

Retrieve Spotify browse categories with pagination, locale, and country filters. Get category lists for music, podcasts, and audiobooks.

Instructions

List Spotify browse categories (GET /browse/categories)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoResults per page, 1–50. Default: 20
localeNoLocale, e.g. en_US
offsetNoOffset. Default: 0
countryNoISO 3166-1 alpha-2 country code, e.g. 'US' (alias: market)
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 carries the full burden, but it only reveals the HTTP verb 'GET' and the action 'list', implying a read operation. It does not disclose pagination behavior, response shaping, rate-limit expectations, or the interplay between limit and max_results.

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 concise sentence that front-loads the core purpose and endpoint. Every word earns its place, and there is no redundant filler.

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?

The schema documents all six parameters and the response_format enum covers return-shape choices, but with no output schema and no annotations, the description itself is minimal. It is adequate for a simple list endpoint but leaves usage context and behavior details to inference.

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 parameters like limit, offset, locale, country, max_results, and response_format are already documented in the input schema. The description adds no parameter-level meaning, which is acceptable at the 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?

The description 'List Spotify browse categories' states a specific verb and resource, and the endpoint '(GET /browse/categories)' adds precision. It is clearly distinct from the sibling get_category, which targets a single category, though it does not explicitly name the alternative.

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 is given on when to use this tool versus alternatives like get_category_playlists, browse_category_deepdive, or category_resolver. The description only says what the tool does, not when it is the right choice.

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