spotify_get_recommendations

Get Spotify track recommendations based on seed tracks, artists, or genres.

Server UnClick @unclick/mcp-server
Category Read
Risk class Low
Parameters 101 required

What spotify_get_recommendations does on UnClick

AI agents call spotify_get_recommendations to retrieve information from UnClick without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
limit number
market string
max_energy number
min_energy number
seed_genres string Comma-separated genre names
seed_tracks string Comma-separated Spotify track IDs (max 5 seeds total)
bearer_token string Yes
seed_artists string Comma-separated Spotify artist IDs
target_valence number
target_danceability number

Parameters from the server's own tool schema.

Why spotify_get_recommendations needs a policy

This tool retrieves recommendation data from Spotify's API based on input parameters. It does not create, modify, delete, or execute code—it only queries and returns data. There is no financial impact, destructive capability, or side effects. The blast radius of misuse is minimal (e.g., wasted API quota or spam requests), making this a low-severity Read operation.

From the tool's definition Tool name 'spotify_get_recommendations' and description 'Get Spotify track recommendations based on seed tracks, artists, or genres' indicate a query/retrieval operation with no side effects.

Risk signalsHigh parameter count (10 properties)

Questions about spotify_get_recommendations

What does the spotify_get_recommendations tool do? +

Get Spotify track recommendations based on seed tracks, artists, or genres. It is categorised as a Read tool in the UnClick MCP Server, which means it retrieves data without modifying state.

What parameters does spotify_get_recommendations accept? +

spotify_get_recommendations accepts 10 parameters: limit, market, max_energy, min_energy, seed_genres, seed_tracks, bearer_token, seed_artists, target_valence, target_danceability. Required: bearer_token. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on spotify_get_recommendations? +

Register the UnClick MCP server in PolicyLayer and add a rule for spotify_get_recommendations: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches UnClick. Nothing to install.

What risk level is spotify_get_recommendations? +

spotify_get_recommendations is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit spotify_get_recommendations? +

Yes. Add a rate_limit block to the spotify_get_recommendations rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block spotify_get_recommendations completely? +

Set action: deny in the PolicyLayer policy for spotify_get_recommendations. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides spotify_get_recommendations? +

spotify_get_recommendations is provided by the UnClick MCP server (@unclick/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.