Skip to main content
Glama

Read a playlist's items

get_playlist
Read-only

Read one playlist: its name and its items in play order, each with the item id update_playlist needs, the content it plays and how long it shows. Also returns its approvalState and shuffle setting. Find playlist ids with list_items (kind playlists); change the playlist with update_playlist. Requires playlist.view.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlistIdYesPlaylist id (pl_…), from list_items kind playlists.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / playlistId / description
      Added value: +"Playlist id (pl_…), from list_items kind playlists."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds real value on top by naming the required scope (`playlist.view`) and itemizing the returned structure, including the item id that update_playlist consumes. It does not discuss pagination or limits on very large playlists, which keeps it short of a 5.

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 sentences, front-loaded with what is returned, then routing and permission. Every clause carries information; nothing is restated from the schema or annotations.

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

Completeness5/5

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

For a single-parameter read tool with an output schema, an output schema already documents the return shape, and annotations cover safety. Adding the permission requirement and id provenance makes the definition fully sufficient for correct invocation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by tying playlistId provenance to list_items (kind playlists) and clarifying that the returned item ids are what update_playlist needs. That cross-tool semantics for identifiers is genuine added value.

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') and enumerates exactly what comes back: name, items in play order, item ids, content, duration, approvalState, shuffle. It is immediately distinguishable from siblings such as list_items, update_playlist, and get_proof_of_play.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: use list_items (kind playlists) to find ids, use update_playlist to change the playlist, and states the required `playlist.view` permission. Both the 'when to use' and the 'use this instead' alternatives are named.

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