Skip to main content
Glama

Remove track from playlist

remove_track_from_playlist
DestructiveIdempotent

Remove one track from a SoundCrate playlist using playlist and track IDs; target a single duplicate with position or delete every copy with all_copies.

Instructions

Remove one track from a playlist. For several, use remove_tracks_from_playlist. If the track appears more than once, nothing is changed unless you pass position (1-based, removes only that copy) or all_copies true (removes every copy); they cannot be combined.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "playlist_id": "<playlist_id>",
      "track_id": "<track_id>"
    },
    "name": "remove_track_from_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
positionNo1-based position of the single copy to remove
track_idYes
all_copiesNoRemove every copy. Default false
playlist_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructive=true, idempotent=true, openWorld=true, and readOnly=false. The description adds substantive behavior beyond those fields: if the track appears more than once, nothing changes unless position or all_copies is supplied, and the two options cannot be combined.

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, front-loaded with the single-track scope, then sibling routing, then the duplicate edge case. Every sentence adds distinct information with no wasted wording.

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?

The destructive and idempotent nature is covered by annotations, and the important duplicate edge case is explained. However, for a destructive mutation without an output schema, it omits outcome and error behavior and does not explain the required ID formats, so it is not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: position and all_copies are documented, but playlist_id and track_id are bare. The description adds crucial cross-parameter semantics — default no-op on duplicates and mutual exclusivity of position and all_copies — but does not compensate for the undocumented required identifiers.

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 states a specific verb and resource ('Remove one track from a playlist') and explicitly distinguishes this tool from the sibling remove_tracks_from_playlist. The single-track scope is front-loaded and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes multi-track removals to remove_tracks_from_playlist and explains the duplicate-copy conditions that determine when this tool is the correct choice. There is little ambiguity about when to use this tool versus the sibling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.