Skip to main content
Glama

player_play

Plays a playlist item or owner-provided URL on a connected kankan-player device; select the item by playlist index, name, or source and optionally set the target device.

Instructions

播放列表里的某一条,或主人给出的网址。用 playlistIndex、name 或 source。

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

Input Schema

NameRequiredDescriptionDefault
nameNo
sourceNo
targetNowindows、android、ios、phone 或 any。不写时发给先接到的那一台。
playlistIndexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=false, openWorldHint=true, and idempotentHint=false; the description's only added signal is the mention of an owner-supplied URL, which merely corroborates openWorldHint. It says nothing about interrupting existing playback, replacing the queue, failure behavior for bad URLs, or permission/ownership requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler and the selection options placed up front. The terseness borders on under-specification, but nothing is redundant or padded.

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

Completeness2/5

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

For a non-idempotent, open-world playback tool with four parameters, zero required fields, and 25% schema coverage, the description should explain the empty-argument case and how the selection parameters interact. Instead it stops at naming three inputs, leaving the agent to guess the default behavior.

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 only 25%, but the description does add one genuinely useful idea the schema lacks: playlistIndex, name, and source are alternative ways to identify what to play. It still leaves ambiguous what 'name' refers to (track vs. device) and what happens when none of the three is provided, so it only partially compensates.

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

Purpose3/5

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

The description identifies playback of a playlist entry or a URL supplied by the owner, which is a recognizable resource, but it is written as two elliptical fragments with no explicit verb. It does not distinguish itself from siblings such as player_resume or player_next, so an agent must infer that this starts a specific item rather than resuming or advancing.

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

Usage Guidelines2/5

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

The line '用 playlistIndex、name 或 source' is input-selection guidance, not usage guidance: it never says when to call player_play instead of player_resume, player_next, or player_toggle. There is no statement of preconditions or of what happens if something is already playing.

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