Domotz MCP by usefulapi

v1.2.1
io.usefulapi/domotz Checked 3 days ago Published 1 day ago

Read devices, alerts and audit logs; resolve alerts and set inventory fields in Domotz.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

domotz_get_account Get account details

Return the Domotz account the API key belongs to. Good first call to confirm the connection. GET /user.

domotz_get_api_usage Get API usage and limits

Return API usage and the limits of the subscription (the API Calls allowance). GET /meta/usage.

domotz_list_organizations List organizations

List the organizations (customers or sites) in the account, with optional filters. Use the ids to find their collectors. GET /organization.

ParameterTypeDescription
collector_idOnly the organization this collector is bound to.
external_referencestring | nullExact organization external reference (ID).
namestring | nullCase-insensitive substring of the organization name.

domotz_list_collectors List collectors

List the Domotz collectors (agents) that monitor the networks, with their names and teams. GET /agent.

ParameterTypeDescription
display_namestring | nullFilter by collector display name.
page_numberZero-based page index (default 0).
page_sizePage size (default 50).
team_namestring | nullFilter by team name.

domotz_get_collector Get a collector

Return one collector's details: name, status, version and team. GET /agent/{agent_id}.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.

domotz_get_collector_uptime Get collector uptime

Return the uptime of one collector over a time window. GET /agent/{agent_id}/uptime.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.
fromSeries start, ISO-8601 UTC. Default: one week before 'to'.
toSeries end, ISO-8601 UTC. Default: now.

domotz_get_network_topology Get network topology

Return the network topology that one collector sees: devices and their links. GET /agent/{agent_id}/network-topology.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.

domotz_list_devices List devices

List the devices that one collector monitors: IP, MAC, type, vendor and status. Hidden devices are off by default. GET /agent/{agent_id}/device.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.
show_excludedboolean | nullInclude excluded devices (default true).
show_hiddenboolean | nullInclude hidden devices (default false).

domotz_list_unmanaged_devices List unmanaged devices

List the devices of one collector that are found but not monitored (unmanaged). GET /agent/{agent_id}/device/monitoring-state/unmanaged.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.

domotz_get_device Get a device

Return one device's details: addresses, type, vendor, model and status. GET /agent/{agent_id}/device/{device_id}.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.
device_id *integerDevice id, from domotz_list_devices.

domotz_get_device_uptime Get device uptime

Return the uptime of one device over a time window. GET /agent/{agent_id}/device/{device_id}/uptime.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.
device_id *integerDevice id, from domotz_list_devices.
fromSeries start, ISO-8601 UTC. Default: one week before 'to'.
toSeries end, ISO-8601 UTC. Default: now.

domotz_get_device_status_history Get device status history

Return the online and offline changes of one device over a time window (state change history). GET /agent/{agent_id}/device/{device_id}/history/network/event.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.
device_id *integerDevice id, from domotz_list_devices.
fromSeries start, ISO-8601 UTC. Default: one week before 'to'.
toSeries end, ISO-8601 UTC. Default: now.

domotz_get_device_rtd_history Get device round-trip history

Return the round-trip delay (RTD, ping latency) statistics of one device over a time window. GET /agent/{agent_id}/device/{device_id}/history/rtd.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.
device_id *integerDevice id, from domotz_list_devices.
fromSeries start, ISO-8601 UTC. Default: one week before 'to'.
toSeries end, ISO-8601 UTC. Default: now.

domotz_get_device_inventory Get device inventory

Return the inventory fields (custom owner, location and similar values) of one device. GET /agent/{agent_id}/device/{device_id}/inventory.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.
device_id *integerDevice id, from domotz_list_devices.

domotz_list_device_variables List device variables

List the variables (metrics and values Domotz reads from one device) with paging and filters. GET /agent/{agent_id}/device/{device_id}/variable.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.
device_id *integerDevice id, from domotz_list_devices.
has_historyboolean | nullOnly variables that keep history.
metricstring | nullFilter by metric name.
page_numberZero-based page index (default 0).
page_sizePage size (default 100).
pathstring | nullFilter by variable path.
sort_bySort field.
sorting_directionSort direction (default asc).
valueFilter by the variable value (not empty).

domotz_list_alerts List alerts

List alert events in a time window, newest first. Filter by severity, status (Open or Resolved), rule, collector or device. GET /alert.

ParameterTypeDescription
from *stringWindow start, ISO-8601 UTC (e.g. 2026-06-03T00:00:00Z).
to *stringWindow end, ISO-8601 UTC (e.g. 2026-06-04T00:00:00Z).
alert_rule_id
collector_idOnly alerts on this collector.
device_idOnly alerts on this device.
page_numberZero-based page index (default 0).
page_sizePage size (default 50).
severityAlert severity.
statusAlert status.

domotz_resolve_alert Resolve an alert

Resolve one active alert by hand. The API records the account that resolved it. Changes alert state: confirm with the user first. POST /alert/{alert_id}/resolve.

ParameterTypeDescription
alert_id *stringAlert id, from domotz_list_alerts.

domotz_list_alert_rules List alert rules

List the alert rules of the account: what triggers an alert and how it is sent. GET /alert-rule.

domotz_get_alert_rule Get an alert rule

Return one alert rule's details and conditions. GET /alert-rule/{alert_rule_id}.

ParameterTypeDescription
alert_rule_id *integerAlert rule id, from domotz_list_alert_rules.

domotz_list_contact_channels List contact channels

List the contact channels that alerts are sent to (for example Teams, Slack or webhook targets). GET /contact-channel.

domotz_list_audit_logs List audit logs

List account actions in a time window, newest first: who did what, from which surface, and on which collector or device. GET /audit-log.

ParameterTypeDescription
from *stringWindow start, ISO-8601 UTC (e.g. 2026-06-03T00:00:00Z).
to *stringWindow end, ISO-8601 UTC (e.g. 2026-06-04T00:00:00Z).
actor_idOnly actions by this user id.
categorystring | nullOperation category as shown in Domotz, e.g. 'Device management'.
collector_idOnly actions on this collector.
device_idOnly actions on this device.
operationstring | nullOperation as shown in Domotz, e.g. 'Create custom tag'. Case-insensitive.
outcomeOnly successful or only refused actions.
page_numberZero-based page index (default 0).
page_sizePage size (default 50).
sourceSurface the action came from.
target_idOnly actions on this entity id.
target_typeKind of entity acted on, canonical name (a collector is AGENT).

domotz_set_device_inventory_field Set a device inventory field

Set the value of one inventory field on one device (max 255 characters; null is not accepted). Repeating the call with the same value gives the same result. PUT /agent/{agent_id}/device/{device_id}/inventory/{inventory_field}.

ParameterTypeDescription
agent_id *integerCollector id (agent_id), from domotz_list_collectors.
device_id *integerDevice id, from domotz_list_devices.
inventory_field *stringInventory field identifier, from domotz_get_device_inventory.
value *stringThe new value (text, at most 255 characters).