Skip to main content
Glama

player_volume

Sets a connected desktop or mobile player's volume from 0 to 100, optionally targeting a specific device; sends to the first connected player when no target is given.

Instructions

设置音量,0 到 100。

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": {
      "level": "<level>"
    },
    "name": "player_volume"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true and idempotentHint=false. The description adds no behavioral context beyond the range, saying nothing about device targeting scope, persistence, failure modes, or what happens when no device is reachable. With annotations carrying the safety profile the bar is lower, yet the description contributes no extra information.

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 short sentence, front-loaded with the verb and the allowed range, with no filler. Nothing is padded or redundant, though the brevity leaves gaps that other dimensions capture.

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 mutation tool that changes device state, the definition omits which device is affected by default, whether the change persists, and what the agent should expect on failure. It also mixes languages with a Chinese description and English parameter documentation, which weakens coherence even though the schema fields fill some gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%. The description's '0 到 100' merely restates the schema's minimum/maximum and adds no new meaning, while the optional target parameter (windows/android/ios/phone/any, with default device semantics) is explained only in its schema field, not in the description. The description does not compensate for the coverage gap.

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?

States a specific verb+resource (set volume) and the value scale, so an agent immediately knows the operation. It does not differentiate from siblings, though no sibling overlaps volumely, so the missing differentiation costs little.

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?

Implicit usage is clear from the name and the 0–100 range, but there is no explicit guidance on when to call it, whether playback must be active, or what to do if no device is connected. No alternatives are named, only an implication that the tool is the volume control.

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