Skip to main content
Glama
Aqara Local MCP

Aqara Local MCP

by marc3k18

aqara_recent_events

Retrieve recent events pushed by Aqara hubs over the LAN, newest first. Filter by device name or DID, and optionally include unknown raw paths such as radio quality or hub diagnostics.

Instructions

Latest changes pushed by the hubs over the LAN (newest first).

device: name or DID to filter. include_unknown: also show raw paths missing from the catalogue (radio quality, hub diagnostics...).

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_recent_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
deviceNo
include_unknownNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose useful behavior: events are push-based over the LAN, ordered newest-first, and include_unknown surfaces raw paths outside the catalogue (radio quality, hub diagnostics). It omits the retention window/buffer size of 'recent', whether limit caps results, and whether the read has any side effects — meaningful gaps for a zero-annotation tool.

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?

Two short blocks, front-loaded with the core purpose, then compact per-parameter notes. No filler sentences; the parenthetical example list is justified because it clarifies an otherwise opaque parameter.

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 need no explanation, and the description covers purpose plus two of three parameters. It is still missing the limit semantics and any sense of how far back 'recent' reaches, which an agent needs to interpret results correctly.

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 0%, so the description must compensate. It explains device ('name or DID') and include_unknown with concrete examples of what those raw paths are, which is genuine added meaning. The limit parameter (default 30) is never explained — page size, max, or truncation behavior remains undocumented.

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?

States a specific resource and source: 'Latest changes pushed by the hubs over the LAN (newest first).' That is a clear verb-less but unambiguous read operation on an event feed, distinguishable from aqara_list_devices or aqara_get_device. It stops short of naming which sibling to use instead for other needs.

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 implied — the agent can infer this is the tool for 'what changed recently' — but there is no explicit when-to-use/when-not statement nor any pointer to aqara_status or aqara_get_device for alternative questions. The 'newest first' ordering hint helps the agent choose it for recency queries.

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