Skip to main content
Glama

play_playlist_item

Plays a specific VLC playlist item by ID, or resumes the last active item when no ID is provided.

Instructions

Play a playlist item by its id (from get_playlist). If item_id is omitted, plays the last active item.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "play_playlist_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the meaningful fallback behavior when item_id is null, which is not evident from the schema's bare default. It does not state whether current playback is interrupted or queued, whether an error is returned for unknown ids, or any side effects on playlist state.

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?

One sentence, front-loaded with the action and identifier, followed immediately by the fallback rule. No filler and nothing an agent must reverse-engineer.

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?

The output schema exists, so return values need not be explained. For a zero-annotation playback action, though, the definition leaves out failure behavior and interaction with the currently playing item, which are the remaining gaps an agent would care about.

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 0%, so the description must compensate, and it does: it explains that item_id is a playlist item id sourced from get_playlist and defines the null/omitted semantics as 'last active item' rather than a meaningless default. This adds real meaning beyond the schema's anyOf integer/null definition.

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?

The description gives a specific verb ('play') and resource ('playlist item') and pins the identifier's source to get_playlist, which helps the agent obtain a valid id. It stops short of distinguishing this from other playback-related siblings such as select_track or vlc_control, so it is clear but not fully differentiated.

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?

'If item_id is omitted, plays the last active item' gives a concrete usage condition for the no-arg case, which is the main decision an agent faces here. However, there is no guidance on when to prefer this over sibling playback controls, nor on what happens if the id is stale or invalid.

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