Skip to main content
Glama
jiayunlimailutorontoca

mijia-home-mcp

get_device_spec

Read-only

Retrieve detailed device specifications, including supported property types, ranges, and available actions. Use this to understand which attributes and commands are valid for device control.

Instructions

获取设备规格:支持的属性(类型/读写/范围/枚举值)与动作列表。

用于确定 get_device_status / set_device_property / run_device_action 可用的属性名与动作名。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_or_modelYes设备名称、did 或设备型号(如 yeelink.light.lamp4)。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Description adds significant detail beyond annotations: it discloses the type of information returned (property types, read/write, ranges, enum values, and action list). No contradiction with readOnlyHint or openWorldHint.

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?

Two concise sentences, front-loaded with core purpose, no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 the tool's purpose, usage context, and the nature of returned data. No missing context for this type of 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 covers 100% of the single parameter, so baseline is 3. The description does not add additional semantic information beyond what the schema already provides for the parameter.

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?

Description clearly states what the tool does: retrieving device specifications including supported properties and actions. It distinguishes itself from sibling tools like get_device_status and set_device_property by stating it provides the available property names and action names needed for those tools.

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?

Description explicitly mentions using it before get_device_status, set_device_property, and run_device_action, providing clear context. However, it does not specify when not to use it or list alternatives beyond these sibling tools.

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