Skip to main content
Glama
jiayunlimailutorontoca

mijia-home-mcp

get_device_status

Read-only

Read the full status of a Xiaomi smart home device, returning raw values and human-readable texts. Optionally filter properties to retrieve only selected attributes.

Instructions

读取单个设备的详细状态(批量拉取,含原始值与语义化文本)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
propsNo可选,只读取这些属性名(可从 get_device_spec 获得);不传则读取全部可读属性(至多32个)。
deviceYes设备名称或 did;名称支持唯一子串匹配。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds valuable context: batch pull, includes raw values and semantic text, and is for a single device. No contradiction with annotations.

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, efficient sentence that conveys core behavior. Could benefit from slightly more structure, but it is concise and front-loaded.

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?

With an output schema present, the description doesn't need to explain return values. It covers key aspects (single device, raw/semantic, batch pull). Missing details like substring matching for 'device' parameter, but schema covers that.

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 coverage is 100%, so parameters are well-documented. The description adds no extra meaning beyond what the schema provides, meeting the baseline.

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 it reads detailed status of a single device, including raw values and semantic text. It distinguishes from sibling tools like 'list_devices' (list all) and 'get_device_statistics' (statistics).

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 usage for a single device but does not explicitly state when to use this vs alternatives like 'get_device_spec' or provide when-not guidance.

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