Skip to main content
Glama

Remove an item from a playlist

remove_item_from_playlist
DestructiveIdempotent

Remove one item from a playlist; the video or stream itself stays. item_id is the video id, the stream id or the playlist item id.

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

Input Schema

NameRequiredDescriptionDefault
item_idYesVideo, stream or playlist item id
playlist_idYesPlaylist id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/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 mutation and repeat-safety profile is known. The description's one real contribution is clarifying that the underlying video or stream is not destroyed by the removal, which is valuable context for a destructive operation. It says nothing about auth requirements, failure modes, or what happens on an invalid item id.

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?

Two short clauses, front-loaded with the action and its scope boundary, with zero filler. Everything stated is directly useful for choosing and calling the tool.

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?

For a two-parameter, fully documented mutation tool with annotations covering destructiveness and idempotency, the description covers the essential ambiguity: whether the media itself is deleted. Minor gaps remain around permissions and error behavior, but nothing an agent needs to invoke it correctly is missing.

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 100% and both parameters carry descriptions, so the baseline is 3. The description restates the item_id polymorphism (video id, stream id, or playlist item id) already present in the schema, adding no new format or resolution guidance beyond it.

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?

The description gives a specific verb and resource ("Remove one item from a playlist") and immediately bounds the scope with "the video or stream itself stays," which separates it from delete_video/delete_stream. It never names the inverse sibling add_item_to_playlist, so the differentiation is conceptual rather than explicit.

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 implied by the name and the scope clause: call this when you want to detach a single entry rather than delete the media. There is no explicit statement of when to prefer this over delete_playlist, delete_video, or add_item_to_playlist, and no mention of prerequisites such as ownership or permissions.

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.