Skip to main content
Glama

umouse_get_capabilities

Check whether voice, mouse, and keyboard operations are supported and executable per device, returning capability support, source, online state, hidden tools, and rejection reasons.

Instructions

查询设备能力(voice / mouse_control / keyboard_control)与当前可执行状态:每台设备返回能力声明的 support、来源(当前 product-default/test-profile;hardware-info 仅预留,尚无硬件上报接线)、连接代次与在线状态,以及因此被隐藏的工具和原因。能力未声明(unknown)的操作会被执行层拒绝——注入工具只对声明 supported 的设备开放(可用 UMSDK_TEST_CAPS 声明测试能力)。

Input Schema

NameRequiredDescriptionDefault
device_idNo目标设备 SN;省略 = 全部已知设备。目标设备 SN。单台在线可省略;多台在线必须显式指定(缺省时命令会被 SDK 拒绝)。识别超时的临时身份(usb-xxxx / ble-<mac>)仅本次连接会话内稳定,不要持久化。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden well: it describes per-device return data, capability sources, connection generation, online status, and hidden tools. It also discloses execution-layer rejection for unknown capabilities and the UMSDK_TEST_CAPS test mechanism, though it does not explicitly state side-effect or permission details.

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?

The description is a single front-loaded sentence with dense but relevant information. Parenthetical details about capability sources and test capabilities earn their place, though the paragraph could be more scannable if split into shorter statements.

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?

Because there is no output schema, the description usefully names the per-device return fields and the hidden-tool reasons. It is nearly complete for a capability-query tool, with only minor gaps around result ordering or pagination that are unlikely to affect correct invocation.

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?

There is only one parameter, device_id, and the schema description coverage is 100%. The schema already documents omission behavior, multi-device requirements, and temporary IDs, so the description adds no additional parameter semantics beyond the schema.

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: querying device capabilities (voice / mouse_control / keyboard_control) and current executable state, including hidden tools and reasons. The purpose is clear, but it does not explicitly distinguish this tool from siblings such as umouse_status or umouse_list_devices.

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?

The description implies when this is useful by explaining that unknown capabilities are rejected and that injection tools only work on devices declared supported. However, it never explicitly says when to call this versus alternatives like umouse_status or umouse_list_devices.

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