Skip to main content
Glama

browse_category_deepdive

Retrieve Spotify category details and its playlists, then optionally preview top tracks from the first playlist — all in a single call.

Instructions

Category → playlists → optional items peek in one call (GET /browse/categories/{id} + /playlists (+ /playlists/{id}/tracks peek)). Quota: 🟡 2–3 calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoPlaylists per page, 1–50. Default: 10
localeNoLocale, e.g. en_US
countryNoISO 3166-1 alpha-2 country code
peek_itemsNoWhen true, fetch top 2 tracks of the first playlist
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
Behavior4/5

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

No annotations provided, so the description carries the behavioral burden. It clearly states the call composition (3 endpoints), the optional peek behavior, and quota impact (🟡 2–3 calls). It does not mention failure behavior or rate-limit specifics, but for a read-only API chain this is reasonably transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the tool's purpose and chain; quota note is brief. Slightly cryptic use of emoji and arrow chain notation, but compact and scannable. Could add one more clarifier on return shape but not necessary for a concise definition.

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 multi-endpoint aggregator, the description explains the call sequence, the optional peek, and quota. It doesn't explain what 'optional items peek' returns in detail, but the schema covers parameters and there is no output schema. Contextual completeness is good but not exhaustive: no explicit result shape or pagination behavior.

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 has 100% description coverage for all 7 parameters, so the baseline is 3 and the description only needs to not contradict the schema. It doesn't add much beyond what the schema already says, but it reinforces the chain behavior (peek_items → top 2 tracks of first playlist). No compensation needed.

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 clearly describes the tool as a deep-dive fetching category → playlists → optional items peek in one call, specifying the underlying API calls (GET /browse/categories/{id} + /playlists + optional /playlists/{id}/tracks peek). It is specific enough to distinguish it from siblings like get_category_playlists and get_categories.

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?

The description implies when to use this tool (for a multi-level category dive with optional item peek) but doesn't explicitly say when to use alternatives or exclude cases like 'use get_category_playlists for just a single page'. The chain structure and optional peek provide clear usage context though. Lacks explicit when-not.

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