Skip to main content
Glama

umouse_set_channel_pref

Set the mouse channel preference to AUTO, USB, or BLE at runtime; switching disconnects and re-detects the channel to resolve receiver conflicts or force Bluetooth.

Instructions

设置通道偏好(运行时可切,切换瞬间断开当前通道重新探测):AUTO=USB 优先静默转 BLE(默认);USB=仅 2.4G 接收器;BLE=仅蓝牙(接收器在位但鼠标切到蓝牙、USB 假在线时用它)。

Input Schema

NameRequiredDescriptionDefault
prefYes
device_idNo省略 = 作用于全部已连接设备

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and discloses the key side effect: switching runs at runtime and momentarily disconnects the current channel before re-probing. It does not cover persistence, error behavior, or return effects, but the main disruption is surfaced.

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?

Front-loads the action, then adds essential runtime behavior and mode meanings in a compact single sentence. It is dense but contains little waste; structure could be slightly clearer due to nested parenthetical and semicolon list.

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 two-parameter mutation tool with no annotations or output schema, the description is largely complete: it defines modes, default, switching behavior, and a relevant BLE condition. Minor gaps remain around persistence and error handling.

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 pref enum values are explained with operational meaning beyond the bare enum labels, including AUTO default and BLE edge case. The device_id parameter is left to the schema, which already documents omitting it as applying to all connected devices, so coverage is adequate rather than exhaustive.

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 and resource: setting channel preference, with the three accepted modes. It does not explicitly differentiate itself from sibling tools, so it lands at clear-but-no-sibling-differentiation rather than top marks.

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

Usage Guidelines4/5

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

Gives clear runtime context, default behavior, and a specific BLE use case when the receiver is present but the mouse is on Bluetooth with USB falsely online. It lacks explicit when-not-to-use guidance or comparisons to sibling tools.

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