Skip to main content
Glama
YouTube Model Context Protocol (MCP) Server

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_reorder_playlist_item

Change a video item's zero-based position in a YouTube playlist to reorder it. Requires OAuth2 and playlist item, playlist, video IDs, plus the new position.

Instructions

Change the zero-based order position of a video item within a playlist. Requires OAuth2.

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_item_id": "<playlist_item_id>",
      "playlist_id": "<playlist_id>",
      "video_id": "<video_id>",
      "new_position": "<new_position>"
    },
    "name": "youtube_reorder_playlist_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYes
playlist_idYes
new_positionYes
playlist_item_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

The description discloses the OAuth2 requirement, which is useful. However, with no annotations, it carries the full behavioral burden and omits key mutation details: whether other items shift position, what happens for out-of-range positions, idempotency, and error behavior.

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 sentences, front-loaded with the operation and followed by the auth requirement. There is no unnecessary wording or repetition.

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

Completeness2/5

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

An output schema exists, so return values need not be explained. But for a four-required-parameter mutation tool with no annotations, the definition is incomplete: it lacks parameter distinctions, side-effect disclosure, and operational caveats needed to invoke it confidently.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain all four parameters. It clarifies that new_position is zero-based, but does not explain the distinction between playlist_item_id, playlist_id, and video_id, leaving the most ambiguous identifiers undocumented.

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 states a specific verb and resource: change the zero-based order position of a video item within a playlist. This is clear enough to distinguish it from add/remove/update playlist operations, though it does not explicitly name any sibling alternatives.

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

Usage Guidelines2/5

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

It implies the tool is used to reorder a playlist item, but gives no explicit when-to-use guidance, no exclusions, and no comparison to alternatives such as removing and re-adding a video. The only precondition mentioned is OAuth2.

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

Deploy Server

Other Tools