Skip to main content
Glama

add_playlist

Adds a new playlist to a lautfm station with required station ID, title, and six-digit hex color. Use it to define playlist details and optional shuffle settings.

Instructions

Add a new playlist to a station. Requires at minimum a title and color (full 6-digit hex, e.g. #ff0000)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorYesColor in full hex format, e.g. #ff0000
titleYesPlaylist title
shuffledNoWhether the playlist is shuffled
station_idYesThe station ID
descriptionNoPlaylist description
shuffle_optsNoShuffle options object

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden yet only states the input requirements. It does not disclose side effects (is the playlist created empty?), permission needs, whether the station must exist, or error behavior 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.

Conciseness4/5

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

Two short sentences, purpose front-loaded followed by the prerequisite. Nothing is padded, though the color-format clause duplicates the schema's own pattern and description.

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?

A mutation tool with 6 parameters, a nested shuffle_opts object, no annotations, and no output schema. The description omits any explanation of the shuffled/shuffle_opts relationship, the optional description field, or what the call returns, leaving meaningful gaps.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all six parameters, including the color pattern. The description's mention of title and hex color merely repeats what the schema states, adding no new semantic meaning. Baseline 3 applies.

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 ('Add a new playlist to a station'), which cleanly separates it from the sibling read/update/delete playlist tools. It stops short of explicitly naming alternatives, but the action is unambiguous.

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?

No when-to-use context is given: nothing says when a playlist should be added versus updated, or what state the station must be in. The only guidance is a restatement of the required fields.

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