add_to_queue

Add a track to the end of the playback queue.

Server Mcp Spotify obrien-matthew/mcp-spotify
Category Write
Risk class Medium
Parameters 00 required

What add_to_queue does on Mcp Spotify

AI agents use add_to_queue to create or update resources in Mcp Spotify — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp Spotify environment.

Why add_to_queue needs a policy

This tool modifies the playback queue by appending a track, which is a reversible write operation. It creates a side effect (queue modification) but does not delete data, execute code, or involve financial transactions. Misuse has minimal blast radius as queue changes can be undone by removing the track or skipping it.

From the tool's definition Add a track to the end of the playback queue

Questions about add_to_queue

What does the add_to_queue tool do? +

Add a track to the end of the playback queue. It is categorised as a Write tool in the Mcp Spotify MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on add_to_queue? +

Register the Mcp Spotify MCP server in PolicyLayer and add a rule for add_to_queue: 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 Mcp Spotify. Nothing to install.

What risk level is add_to_queue? +

add_to_queue is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit add_to_queue? +

Yes. Add a rate_limit block to the add_to_queue 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 add_to_queue completely? +

Set action: deny in the PolicyLayer policy for add_to_queue. 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 add_to_queue? +

add_to_queue is provided by the Mcp Spotify MCP server (obrien-matthew/mcp-spotify). 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.