Skip to main content
Glama

create_playlist

Idempotent

Create a private YouTube playlist from an approved proposal, requiring explicit confirmation and preventing duplicate playlists on retry.

Instructions

FR-5 step 2 (OAuth write scope): create the displayed proposal in the user's account. Requires the user's explicit approval (confirmed=true), an unchanged and unexpired proposal, a YouTube channel and enough quota. Private by default. Retrying the same proposal never creates a duplicate playlist.

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": {
      "proposal_id": "<proposal_id>",
      "proposal_hash": "<proposal_hash>"
    },
    "name": "create_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedNotrue ONLY if the user explicitly approved this proposal
proposal_idYesproposal_id returned by propose_playlist
proposal_hashYesproposal_hash returned by propose_playlist

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.3/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: the created playlist is private by default, the call consumes quota, and a channel must exist. It also clarifies the mechanism of idempotency ('retrying the same proposal never creates a duplicate'), which gives the idempotentHint=true annotation concrete meaning rather than merely restating it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the operation and its scope, then lists preconditions and the two side-effect facts in short clauses. The 'FR-5 step 2' spec reference is slightly internal jargon but is compact and locates the tool in the flow.

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 write tool with no output schema, the description covers the essentials: prerequisites, default privacy, quota cost, and retry safety. It stops short of describing failure modes (e.g., what happens when a proposal is expired or a hash mismatches) or what is returned, though the absence of an output schema makes the latter less critical.

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 baseline is 3, but the description adds meaning: 'confirmed=true' is tied to explicit user approval, and 'unchanged and unexpired proposal' explains what proposal_hash actually guards against (stale or mutated proposals). That is genuine semantics beyond the field descriptions.

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?

States a specific verb and resource ('create the displayed proposal in the user's account') and situates it as step 2 of a flow, which implicitly separates it from propose_playlist. An agent can tell this is the commit action that materializes a previously proposed playlist.

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 concrete preconditions: explicit user approval with confirmed=true, an unchanged and unexpired proposal, a YouTube channel, and sufficient quota. It does not explicitly say 'call propose_playlist first to obtain proposal_id/hash', but 'the displayed proposal' plus 'FR-5 step 2' makes the ordering clear enough.

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