Skip to main content
Glama

create_playlist

Create a new empty playlist in the macOS Music app by providing a name and optional description; fails if a playlist with that name already exists.

Instructions

Create a new empty playlist. Fails if one with that name already exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two genuine behavioral traits: the created playlist is empty, and duplicate names cause failure. It does not state required permissions, whether the new playlist is returned (e.g., its ID), or what happens to the optional description field, leaving notable gaps for a mutation tool.

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, front-loaded sentences with no filler: the primary action first, then the failure condition. Every clause earns its place.

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

Completeness3/5

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

For a simple two-parameter creation tool with no output schema and no annotations, the description covers the core action and one failure mode. It is still thin on parameter meaning and on what the caller receives back, which matters given there is no output schema to fall back on.

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 compensate, and it does not mention either parameter. "Empty playlist" indirectly hints that no track list is accepted, but nothing explains the required `name` (uniqueness, length) or the optional `description` (its effect or null default).

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?

States a specific verb and resource ("Create a new empty playlist") and adds the meaningful scope qualifier "empty," which distinguishes it from tools that add tracks. Siblings like add_to_playlist and play_playlist are clearly different verbs, so explicit differentiation isn't required, but the description doesn't reference any of them.

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?

"Fails if one with that name already exists" is a useful precondition, implying the tool is for net-new playlists and that callers should check for duplicates first. However, there is no explicit when-to-use guidance and no alternative named (e.g., how to add tracks afterward or how to handle the duplicate case).

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