Skip to main content
Glama
Aqara Local MCP

Aqara Local MCP

by marc3k18

aqara_list_devices

List Aqara devices with their name, room, model, DID, online status, and parent hub; filter by name or room and optionally restrict results to devices reachable through connected hubs.

Instructions

List Aqara devices (name, room, model, DID, online, parent hub).

search: part of the name (case-insensitive). room: part of the room name. only_lan: True keeps the devices reachable through the connected hubs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "aqara_list_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomNo
searchNo
only_lanNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose what is returned and that only_lan restricts results to devices reachable via the connected hubs, but says nothing about authentication, whether results are cached or live, ordering, or pagination behavior.

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?

Front-loaded with the purpose and returned fields, then one compact line per parameter. No filler; the parenthetical field list is dense but earns its place.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be explained, and all three optional filters are documented. However, with zero annotations and no mention of auth, ordering, or result limits, an agent still lacks the behavioral context normally needed to invoke a hub-backed listing tool confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must define the parameters, and it does address all three: search is a case-insensitive name substring, room is a partial room-name match, and only_lan filters to hub-reachable devices. The only_lan wording is slightly ambiguous about whether it excludes non-LAN devices or merely verifies reachability.

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?

Specific verb 'List' plus resource 'Aqara devices', with the returned fields enumerated (name, room, model, DID, online, parent hub). It doesn't explicitly contrast with aqara_get_device or aqara_refresh_inventory, but 'list' vs 'get' makes the bulk-vs-single distinction reasonably clear.

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?

Usage is only implied: the presence of search/room filters suggests querying the inventory. There is no statement of when to use this versus aqara_get_device or aqara_status, and no note on prerequisites such as needing a connected hub first.

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