Skip to main content
Glama

propose_playlist

Read-only

Build and preview a YouTube playlist within a total duration and optional per-video limit before creating it. Writes nothing; review the proposal and approve it to proceed.

Instructions

FR-5 step 1: build and preview a playlist that never exceeds the total duration or per-video limit. Writes nothing. Show the preview to the user and get explicit approval before calling create_playlist. Example: 'two hours on X, no video over 20 minutes' -> total_minutes=120, max_video_minutes=20.

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": {
      "topic": "<topic>",
      "total_minutes": "<total_minutes>"
    },
    "name": "propose_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional playlist title
topicYesPlaylist topic, e.g. 'python decorators'
privacyNoprivate (default), unlisted or publicprivate
languageNoOptional language code, e.g. 'en', 'hi'
total_minutesYesMaximum total duration in minutes, 5-600
max_video_minutesNoOptional maximum length per video in minutes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true; the description reinforces this with 'Writes nothing' and adds the human-approval gate, which annotations cannot express. It stops short of describing what the returned preview actually contains (video list, computed totals, flagging of over-limit candidates), which is the main behavioral gap.

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?

Front-loaded with the operation and its constraint, then the safety workflow, then a compact worked example. Every sentence carries actionable information; the only arguable overhead is the 'FR-5 step 1' requirement tag, which is short enough not to distract.

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 6-parameter, read-only preview tool with a fully documented schema and covering annotations, the definition supplies scope, constraints, workflow, and an example. The remaining gap is the shape of the preview output, which matters because the agent is instructed to present it to the user for approval.

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%, so the baseline would be 3, but the description goes beyond it by mapping a natural-language request ('two hours on X, no video over 20 minutes') to concrete total_minutes=120 and max_video_minutes=20. That tells the agent how to translate user phrasing into parameters, which the schema alone does not.

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?

Specific verb + resource ('build and preview a playlist') plus a stated invariant ('never exceeds the total duration or per-video limit'). It also distinguishes itself from the sibling create_playlist by framing itself as the non-mutating preview step, so an agent can route without opening either schema.

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?

Explicit sequencing: call this first, show the preview to the user, obtain explicit approval, then call create_playlist. That names the alternative and the condition that selects it, which is exactly the when-to-use guidance an agent needs.

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