Skip to main content
Glama
YouTubeMCP
by imrees

Remove video from playlist

remove_from_playlist
DestructiveIdempotent

Remove a video from a YouTube playlist without deleting the original video; use a video ID/URL or playlist item ID and approve the preview before applying the change.

Instructions

Remove an entry from a playlist (the video itself is NOT deleted). Pass video_id or a specific playlist_item_id. Two-step approval.

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

Input Schema

NameRequiredDescriptionDefault
video_idNoVideo ID or URL to remove.
playlist_idYesPlaylist ID (or a URL containing list=...).
playlist_item_idNoSpecific playlist item (if the video appears more than once).
confirmation_tokenNoToken from the preview. Only pass it after the user has explicitly approved the preview.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description still adds real context by scoping the destruction to the playlist entry only and disclosing a two-step approval flow. It stops short of saying what happens when confirmation_token is omitted or whether a stale token fails.

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, front-loaded with the action and the non-destructive scope, then the parameter choice, then the approval requirement. No wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and annotations carry the safety profile, but for a destructive mutation with a confirmation flow the definition leaves the two-step approval underspecified: it never says where the preview comes from or what an omitted token does. Adequate to attempt the call, not quite enough to call it correctly on the first try.

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%, so each parameter is already documented individually; the description adds only the either/or relationship between video_id and playlist_item_id, which the schema implies but does not state jointly. No extra syntax, format, or failure semantics for confirmation_token beyond the schema text.

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 an entry from a playlist') and preempts the most likely misreading with '(the video itself is NOT deleted)'. It does not explicitly name the inverse sibling add_to_playlist, so the agent must still infer the pairing rather than being routed to it.

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

Usage Guidelines3/5

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

Usage is only implied: the agent must already know it wants to remove an entry. 'Two-step approval' hints that a preview must precede the call, but the preview tool/step is never named and no when-not-to-use condition (e.g. use update_playlist to reorder) is given.

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