Skip to main content
Glama
Fidelia MCP server

Fidelia MCP server

Official

Add to a playlist

add_to_playlist

Appends music to an existing editable playlist from a plain-language query, artist, genre, album ID, or ordered track IDs.

Instructions

Add to the end of one of the person's playlists what play would take (plain words, an album_id, track_ids, a genre or an artist).

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": {
      "playlist_id": "<playlist_id>"
    },
    "name": "add_to_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
genreNoA genre as genres lists it.
queryNoWhat, in plain words ("irish trad", "the album I got yesterday").
artistNoAn artist as a reply named them.
album_idNoAn album_id from another reply.
track_idsNoTrack ids from other replies, in the order to use them.
playlist_idYesThe playlist, from playlists (an editable one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false; the description adds the ordering behavior (appends at the end). It does not say what happens when a track is already present (relevant given non-idempotency), what is returned, or what error an uneditable playlist yields. Useful but incomplete beyond the annotations.

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?

A single sentence with the action front-loaded and the accepted inputs in a compact parenthetical. The construction "Add to the end of one of the person's playlists what play would take" is slightly tangled and could be split for readability, but there is no wasted wording.

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?

With full schema coverage and annotations covering safety and idempotency, the definition covers the essentials for a six-parameter append mutation. It leaves open the outcome of duplicate tracks, the failure mode for a non-editable playlist, and what the call returns (no output schema exists to answer that). Adequate, but thin for a write operation.

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 each of the six parameters is already documented with its expected source (album_id "from another reply", genre "as genres lists it"). The description's only added meaning is that these are alternative content specifiers equivalent to play's inputs; the parenthetical enumeration largely restates the schema, so the baseline 3 holds.

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?

"Add to the end of one of the person's playlists" states a specific verb (append), the resource (a playlist), and the placement (end, not insert). Referencing "what play would take" distinguishes it from play and queue by implying the same content specifiers but an append-only effect. It stops short of naming a sibling explicitly, so a 4 rather than a 5.

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?

The play-parity framing implies the when-to-use split (play to hear it, add_to_playlist to store it), and the schema's "an editable one" hints at a precondition. There is no explicit when-not guidance, no note about non-editable or collaborative playlists failing, and no mention of the queue alternative. Usage is inferable but not spelled out.

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