Skip to main content
Glama

Get a playlist

get_playlist
Read-onlyIdempotent

One playlist with its items in order (videos and streams). The owner can read a private playlist too.

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": "get_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
playlist_idYesPlaylist id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description still earns credit by adding access-control behavior (the owner can read a private playlist) and the return composition (items in order, both videos and streams) — details no annotation provides.

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 short sentences with the core content first and zero redundant wording. Nothing repeats the name or title verbatim beyond necessity.

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?

With no output schema, the description must convey what comes back, and it does (playlist plus ordered items, videos and streams), along with the private-playlist access rule. Missing is any note on pagination or item-count limits for very large playlists, and on error behavior for a nonexistent or inaccessible id.

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?

There is one parameter at 100% schema coverage, so the baseline is 3. The description adds nothing about playlist_id syntax, format, or where to obtain it, so it does not exceed the schema.

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?

"One playlist with its items in order" states a specific verb-resource pair and scope (single playlist, hydrated with items), which separates it from write siblings like update_playlist or delete_playlist. It does not explicitly contrast with any read sibling, but the singular/retrieval framing 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 Guidelines3/5

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

Usage is implied rather than stated: the tool fetches one playlist by id when you already have that id. There is no explicit when-to-use/when-not guidance and no pointer to any sibling for listing or searching playlists.

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.