Skip to main content
Glama

Create a playlist

create_playlist

Create an empty playlist. is_public false keeps it visible to the owner only. site_section true shows it on the author's site as its own row. Add videos and streams with add_item_to_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": {
      "title": "<title>"
    },
    "name": "create_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesPlaylist title
is_publicNoDefault true
site_orderNoRow position on the site, smallest first; null for none
descriptionNoPlaylist description
site_sectionNoOwn row (section) on the author's site; a row is public.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world, so the safety profile is covered. Beyond that, the description adds genuinely useful behavior: the playlist is created empty, is_public false restricts visibility to the owner, and site_section true publishes the playlist as its own public row — including the non-obvious implication that a section row is public regardless of is_public. It doesn't say what the response contains, which is the main remaining 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?

Four short sentences, front-loaded with the core action, then the two visibility flags, then the next-step pointer. Every sentence carries information an agent needs to call the tool correctly, and there is no filler or repetition of the title.

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 five-parameter creation tool with full schema coverage and no output schema, the description covers what is created, the visibility consequences of the non-obvious flags, and the follow-up call. The one omission is any hint about the return value (e.g. the new playlist identifier needed to call add_item_to_playlist), which no output schema supplies either.

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 is 3, and the description earns above that by explaining the observable effect of two booleans rather than restating their types — notably that site_section surfaces the playlist publicly as its own row, which is a semantic interaction the schema does not convey. site_order is left to the schema, which handles it adequately.

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?

Opens with a specific verb and resource ("Create an empty playlist") and adds the important scope qualifier that the result contains no items, which separates it from update_playlist and get_playlist at a glance. It doesn't explicitly name those siblings, but the 'empty' framing and the handoff to add_item_to_playlist make the role unambiguous.

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?

Clearly establishes this as the first step of a two-step workflow by naming add_item_to_playlist as the way to add videos and streams, so an agent knows not to expect content-adding parameters here. It stops short of stating when to use update_playlist instead, or any prerequisites such as permissions, leaving a small gap rather than a large one.

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.