Skip to main content
Glama
jacedomotz

Domotz MCP Server

by jacedomotz

domotz_alerts

List, bind, and unbind alert profiles to collectors and devices for centralized alert management.

Instructions

Manage alert profiles and their bindings to collectors and devices. Use the "action" parameter to select an operation.

ACTION REFERENCE:

  • list_profiles: List all alert profiles (no parameters needed)

  • bind_to_agent: Bind an alert profile to a collector (needs alert_profile_id + agent_id)

  • unbind_from_agent: Unbind an alert profile from a collector (needs alert_profile_id + agent_id)

  • bind_to_device: Bind an alert profile to a specific device (needs alert_profile_id + agent_id + device_id)

  • unbind_from_device: Unbind an alert profile from a device (needs alert_profile_id + agent_id + device_id)

  • get_agent_bindings: List all alert bindings for a collector (needs agent_id)

  • get_device_bindings: List alert bindings for all devices on a collector (needs agent_id)

  • list_profiles_deprecated: List profiles by user ID (deprecated, use list_profiles instead)

GOTCHAS:

  • Binding workflow: first list_profiles to get alert_profile_id, then bind_to_agent or bind_to_device

  • get_device_bindings returns bindings for ALL devices on a collector, not a single device

EXAMPLES:

  • List all profiles: {"action": "list_profiles"}

  • Check collector alerts: {"action": "get_agent_bindings", "agent_id": 5}

  • Bind profile to device: {"action": "bind_to_device", "alert_profile_id": 2, "agent_id": 5, "device_id": 100}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesThe operation to perform
user_idNoUser ID (for deprecated endpoint)
agent_idNoAgent/Collector ID
device_idNoDevice ID
alert_profile_idNoAlert Profile ID
Behavior4/5

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

Discloses workflow dependencies (list_profiles first), scope of get_device_bindings (all devices), and deprecation status. No annotations exist, so description carries full burden; it covers core behaviors but could mention mutation effects or idempotency.

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?

Well-structured with clear sections (action reference, gotchas, examples). Every sentence adds value; no redundancy. Front-loaded with purpose and action overview.

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?

Covers all actions, parameters, gotchas, and examples. Lacks description of return values (no output schema), but for a management tool, examples provide sufficient guidance. Could benefit from stating what each action returns.

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

Parameters5/5

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

Schema has 100% coverage with parameter descriptions. The description adds critical context: which parameters are required for each action, the binding workflow, and the deprecation note, significantly aiding accurate invocation.

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 tool's purpose: 'Manage alert profiles and their bindings to collectors and devices.' It then enumerates specific actions, which distinguishes it from sibling tools like domotz_agents or domotz_devices.

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

Usage Guidelines5/5

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

Provides explicit action reference with required parameters, gotchas (e.g., binding workflow, get_device_bindings behavior), and examples for common use cases. It also notes deprecation of list_profiles_deprecated, guiding the agent to prefer list_profiles.

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/jacedomotz/domotz-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server