Skip to main content
Glama

music_add_to_playlist

Adds tracks from your music library to a playlist in the Music app, preserving the order you specify. Use it to build or extend playlists directly from your local music collection.

Instructions

Adds library tracks to a playlist of the Music app, in the order given.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "music_add_to_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.424

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but only says tracks are added 'in the order given.' It does not disclose whether tracks are appended or replace existing content, how duplicates are handled, what permissions are needed, or what the result looks like.

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

Conciseness3/5

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

The single sentence is front-loaded and free of noise, but it is under-specified for a mutation tool rather than appropriately concise. Brevity here leaves essential invocation details unstated.

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?

For a mutation tool with no annotations and no output schema, the definition is incomplete. An agent cannot determine the required arguments, playlist/track identifiers, append-vs-replace behavior, or error/result expectations from this description plus the empty schema.

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?

The input schema has zero parameters, which normally warrants a baseline of 4, but the description implies required inputs (playlist and tracks) that are absent from the schema. That mismatch leaves the agent without usable guidance on how to identify the target playlist or supply tracks.

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?

The description states a specific verb and resource: adding library tracks to a playlist in the Music app. It is distinguishable from siblings like music_playback or music_search_library, though it does not explicitly name alternatives.

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?

There is no guidance on when to use this tool versus alternatives such as music_playback or music_list_playlists. It also omits prerequisites, such as whether the playlist must already exist.

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

Deploy Server

Other Tools