Skip to main content
Glama
jiayunlimailutorontoca

mijia-home-mcp

get_home_snapshot

Read-only

Retrieve a snapshot of all smart home device statuses in one call. Returns structured data by home, room, and device with semantic status, plus attention items for offline, low battery, or faulty devices.

Instructions

一次调用获取全屋设备状态快照(推荐入口)。

返回 家→房间→设备→语义化状态 的结构化结果,并附 attention (离线/低电量/故障设备)与统计信息。批量拉取,整屋通常几秒内完成。 本工具不影响 get_home_changes 的对比基线。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
homeNo可选,家庭名称或ID;不传用服务端配置的默认家庭,均未配置则包含所有家庭。
roomNo可选,房间名;只关心单个房间时用,更快更省 token。
detailNocompact 返回语义化精简状态;full 附带原始值/属性描述/更新时间/did。compact
max_props_per_deviceNo每台设备最多读取的属性数,默认8(full 模式自动放宽到24)。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already provide readOnlyHint and openWorldHint. The description adds useful behavioral details: the structured output (home→room→device→semantic state), inclusion of attention and statistics, and batch performance within seconds. No contradictions.

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?

Three sentences, front-loaded with purpose, no wasted words. Each sentence adds value: purpose, output overview with performance, and clarification of side effects.

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 presence of an output schema, the description adequately covers purpose, structure, performance, and safety. It does not need to detail return values. Minor omission: no mention of potential load, but 'batch pull completes in seconds' mitigates this.

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% with good descriptions. The description adds minimal parameter-specific meaning beyond the schema, but it does reinforce the use of 'detail' for semantic vs. raw data. Baseline 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 the verb '获取' (get) and resource '全屋设备状态快照' (full house device status snapshot), distinguishing it from siblings by positioning it as the recommended entry and noting it doesn't affect the get_home_changes baseline.

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?

It recommends this as the primary entry point and advises using the 'room' parameter for single-room efficiency. However, it does not explicitly list alternatives or conditions for not using this tool.

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