Skip to main content
Glama

get_category

Fetch a Spotify browse category's details by ID to get localized name, description, and metadata. Use category_id from category list to retrieve specific category information.

Instructions

Get a single Spotify browse category by ID (GET /browse/categories/{id}). Quota: 🟢 single.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoLocale, e.g. en_US
countryNoISO 3166-1 alpha-2 country code
category_idYesCategory ID from get_categories
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?

No annotations exist, so the description carries the full burden. It does disclose the quota ('🟢 single') and the read-only GET endpoint, which is useful behavioral context. However, it doesn't state error behavior, what data is returned, or any constraints beyond the schema — thin but not misleading.

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 front-loaded sentence of 27 words containing verb, resource, endpoint, and quota. Every token earns its place, with no repetition of schema content. Appropriate size for the tool's simplicity.

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 simple get-by-ID tool with a fully documented schema, most needs are met: purpose, endpoint, quota, and param meanings. The only meaningful gap is routing guidance among the several category-related siblings, which would make selection unambiguous. Otherwise quite complete given the tool's low complexity.

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 baseline 3 applies. The description itself adds no parameter semantics, but the schema already richly documents all four params, including the response_format enum meanings and category_id sourced from get_categories. 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?

Describes a specific verb+resource: 'Get a single Spotify browse category by ID' with the exact API endpoint. The 'single...by ID' qualifier implicitly distinguishes it from plural category siblings like get_categories, though it doesn' name the alternative explicitly. Clear enough for an agent to understand what it retrieves.

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 when-to-use or alternative guidance is provided. Given a large sibling set that includes get_categories, get_category_playlists, browse_category_deepdive, and category_resolver, the description gives no criteria for choosing this tool over those. The quota note hints at cost but not at selection behavior.

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