Skip to main content
Glama

tag_management

Add or remove genre tags for artists in your local music library, enabling genre-based reports and filtering. Preview changes with dry run before applying.

Instructions

Declare or retract genre tags for an artist in your local sidecar (~/.spotify-mcp/genre-tags.json), which library_genre_report and filter_by_genre consume. add requires at least one tag; remove drops the listed tags, or the artist entirely when none are listed. Supports dry_run preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoTags to add/remove; omit on remove to drop the artist entirely
actionYesadd tags to an artist, or remove tags/artist
artistYesArtist name exactly as it appears in your library
dry_runNoPreview only: validate inputs and describe exactly what would change without performing it
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?

With no annotations provided, the description carries the full disclosure burden and does so well: it names the exact file being mutated, describes the edge case where remove with no tags deletes the artist entirely, and advertises dry_run as a preview gate. It omits reversibility/undo behavior and first-run file creation, and leaves add-vs-merge semantics implicit, which keeps it below 5.

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?

Three sentences, each earning its place: purpose plus target and consumers, per-action behavior, and dry_run support. The most decision-relevant information is front-loaded, and there is no filler.

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 moderately complex tool (5 params, 2 enums, no output schema, no annotations), the description covers purpose, persistence location, downstream consumers, action behavior, and preview mode. Return-value shape is left to the response_format parameter rather than the description, and first-run file creation is not addressed, but nothing critical blocks a correct call.

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 five parameters (including the omit-on-remove tag behavior and response_format variants). The description adds no parameter-level detail beyond echoing those semantics, so the baseline of 3 applies.

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?

The description names a specific verb pair (declare/retract), a resource (genre tags for an artist), an exact persistence target (~/.spotify-mcp/genre-tags.json), and the downstream consumers (library_genre_report, filter_by_genre). This makes it unambiguous against read-style siblings like get_artist_genres and artist_genres_compact.

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?

It gives clear workflow context by stating the sidecar file is what library_genre_report and filter_by_genre consume, and it spells out action-specific semantics (add requires at least one tag; remove drops listed tags or the artist entirely). It does not name an alternative tool or state explicit when-not conditions, so it stops short of a 5.

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