Skip to main content
Glama

Beats

Remove a track

remove_from_playlist
DestructiveIdempotent

Remove a track from one of the listener's own playlists. Use it to correct a playlist; the demo playlists are read-only and the track itself stays in the catalogue. Returns ok, or ok false with the reason.

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": {
      "id": "<id>",
      "track_id": "<track_id>"
    },
    "name": "remove_from_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe playlist to change
track_idYesthe track to remove

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description still adds real value beyond them: demo playlists are read-only, the track remains in the catalogue, and failures return ok false with a reason.

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 short sentences with no filler: purpose first, then when-to-use plus the read-only caveat, then the return contract. Every clause carries information an agent would act on.

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?

With an output schema present, the description needn't enumerate return fields, and annotations cover the mutation semantics; the read-only demo restriction plus the ok/ok-false note make it nearly complete. Only a statement of behavior when the track is absent from the playlist is left implicit via idempotentHint.

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 coverage is 100% and both parameters carry their own descriptions, so the schema does the heavy lifting. The description adds no format, example, or semantic detail about id or track_id beyond what is already structured, which is the expected baseline.

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?

States a specific verb and resource ("Remove a track") plus scope ("one of the listener's own playlists"), which separates it from delete_playlist and add_to_playlist without ambiguity. It stops short of naming the inverse sibling explicitly, so it is clear but not maximally differentiated.

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?

Gives a concrete use case ("Use it to correct a playlist") and an explicit exclusion (demo playlists are read-only), so an agent knows when the call will fail. It does not name add_to_playlist as the counterpart operation, leaving that inference to the caller.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources