Skip to main content
Glama

Load Playlist File

mpv_load_playlist

Load a playlist file into mpv. Omit path to list available playlists. Choose replace or append mode.

Instructions

Load a playlist file (.txt, .m3u). Omit path to list available playlists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPath to playlist file. Omit to list available playlists.
modeNo"replace" clears current playlist, "append" adds to itreplace
Behavior4/5

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

Annotations show readOnlyHint=false (state modification) and destructiveHint=false, which the description aligns with ('load' implies mutation). The description adds the context that omitting path lists playlists, a behavioral nuance not in annotations. No contradiction.

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?

The description is extremely concise: one sentence that includes file types, primary action, and a key usage hint. Every word earns its place, with no redundancy or filler.

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 tool with two parameters and no output schema, the description provides essential context. It covers the main behavior and a secondary listing mode. However, it does not specify behavior on invalid paths or the format of the playlist listing, which could be considered minor gaps.

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% with clear parameter descriptions. The description adds value by explaining that omitting 'path' lists available playlists, which is not fully captured in the schema's description of 'path'. This enhances understanding beyond the schema.

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?

The description clearly states the tool loads a playlist file, specifies supported file types (.txt, .m3u), and mentions the dual behavior: loading a file or listing available playlists when path is omitted. This distinguishes it from sibling tools like mpv_playlist (manages current playlist) or mpv_add (adds items).

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 description implies usage when you have a playlist file to load, but it does not explicitly guide the agent on when to prefer this tool over siblings like mpv_add, mpv_play, or mpv_playlist. No alternatives or when-not-to-use are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arijit-gogoi/mpv-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server