Skip to main content
Glama

play_pause

Start or stop audio playback on a specific music player. Use player ID '0' to affect all players.

Instructions

Play or pause a player

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playerIdYesPlayer ID to control (use "0" for all players)
Behavior2/5

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

Annotations already indicate destructive action (readOnlyHint=false). Description adds no additional behavioral context such as error handling, per-player state assumptions, or authentication needs.

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 with a single sentence that states the purpose efficiently. Every word is necessary.

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?

For a simple one-parameter toggle tool, the description covers the core purpose. However, it does not explain return values (no output schema) or confirm whether it toggles vs. requires a play/pause command. It is adequate but not thorough.

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?

The description adds value to the parameter by clarifying that '0' controls all players, which is not in the schema's parameter description. Schema coverage is 100%, so the baseline is 3; the added clarification lifts it to 4.

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 clearly states the verb 'play or pause' and the resource 'player', distinguishing it from more specific actions like play_track or set_power. However, it could be more precise by specifying that it toggles the state.

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?

No guidance on when to use this tool versus alternatives like play_track, set_power, or seek. It does not mention exclusions or prerequisites.

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/shermozle/lms-mcp'

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