Skip to main content
Glama

get_activity_log

Read-only

Retrieve open, close, and water leak events from the DIRIGERA hub, with optional device filtering and result limits.

Instructions

Get the open, close and water leak events the hub returns by default.

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": "get_activity_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
device_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description does add value by listing the default event categories (open, close, water leak), but it omits whether this is a live stream or a historical query, the default lookback span, and result ordering/paging behavior beyond the limit parameter.

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?

One front-loaded sentence with zero filler. Its brevity is appropriate, though a few extra words clarifying the default time range would have been worth the cost.

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 and safety annotations exist, so return values and mutability need not be re-explained. Still, for a paging-plus-filtering read tool the description leaves too much open: the default window, whether device_id is required for meaningful results, and how the two parameters interact.

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

Parameters2/5

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

Schema description coverage is 0% and the description mentions neither parameter. It does not explain what device_id scoping does (hub-wide versus single device) or what limit controls (event count versus time window), so it fails to compensate for a completely undocumented schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the verb "Get" and the content of the resource — open, close and water leak events. However, it never names the resource itself (activity log) beyond the tool name, and "the hub returns by default" is circular: it describes what the hub does rather than what the tool returns, and leaves the default time window/scope undefined.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus alternatives — there is no mention of other tools for device history or a filtered variant, despite the sibling list including get_device and get_hub_status. The phrase "by default" implies non-default modes exist but never says how to reach them.

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