Skip to main content
Glama

Beats

get_playlist

Read-onlyIdempotent

Read one playlist and its tracks in order. Use it before adding or removing tracks, or to play through a collection. Returns the playlist with its name, description and full track list.

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": {
      "id": "<id>"
    },
    "name": "get_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe playlist id, from list_playlists

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
tracksYes
cover_colorYes
descriptionYes
track_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, and an output schema exists, so the 'returns the playlist with its name, description and full track list' sentence largely repeats structured data. The one piece of added behavior is that tracks come back 'in order', which is genuinely useful. Beyond that it says nothing about missing-id or error behavior.

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?

Three short sentences with the core action first, then usage, then return content. No filler or restated 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 one-parameter read tool with full annotations and an output schema, the description covers purpose, usage timing and ordering semantics. Only edge-case behavior (invalid or unknown playlist id) is left unaddressed, which is a minor gap.

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 coverage is 100% and the single 'id' property already documents its origin ('from list_playlists') with an example. The description adds no format or constraint details about the id, so the schema does all the work — baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Read one playlist') plus scope ('its tracks in order') and the returned content. The singular 'one playlist' vs. the sibling list_playlists makes the distinction clear without naming it.

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?

Gives concrete when-to-use triggers: 'before adding or removing tracks' and 'to play through a collection'. It does not name an alternative such as list_playlists for the multi-playlist case, so routing is implied rather than explicit.

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.

Resources