Skip to main content
Glama
jiayunlimailutorontoca

mijia-home-mcp

list_devices

Read-only

List Xiaomi smart home devices filtered by home, room, name substring, or online status. Returns device name, did, model, online status, and assigned home/room.

Instructions

列出设备(名称/did/model/在线状态/所属家庭房间),支持过滤。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
homeNo按家庭名称或ID过滤;不传用服务端默认家庭。
roomNo按房间名过滤(精确匹配)。
online_onlyNo只看在线设备。
name_containsNo设备名包含该子串(不区分大小写)。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already provide readOnlyHint=true and openWorldHint=true, indicating safe, read-only access. The description adds the specific fields returned and filtering capability. However, it does not disclose any additional behavioral traits such as pagination, rate limits, or authorization requirements. Given the annotations cover the safety profile, the description provides adequate but minimal added context.

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 a single, front-loaded sentence that immediately states the purpose, lists key return fields, and mentions filtering. Every part is essential, with no wasted words. It is highly efficient and easy to parse.

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?

Given the tool's simplicity, the description covers the essential aspects: it lists devices with key fields and supports filtering. The presence of an output schema reduces the need to describe return values. However, it lacks details on default ordering, pagination, or maximum results. Still, it is mostly complete for a straightforward listing tool.

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 description coverage is 100%, so each parameter already has a clear description in the schema. The tool description does not add any new semantic information beyond the schema. It mentions '支持过滤' but this is already evident from the parameters. Therefore, baseline score of 3 is appropriate.

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

Purpose5/5

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

The description clearly states '列出设备' (list devices) and specifies the fields returned: name, did, model, online status, home room. It also mentions filtering support. This effectively communicates the tool's purpose and distinguishes it from siblings like get_device_spec or get_device_status which target specific 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?

No explicit guidance on when to use this tool vs siblings. The description implies it is for general device listing with filters, but does not clarify scenarios where other tools (e.g., get_device_statistics) would be more appropriate. The context from sibling names offers implicit differentiation, but explicit guidance is missing.

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/jiayunlimailutorontoca/mijia-home-mcp'

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