Skip to main content
Glama
jacedomotz

Domotz MCP Server

by jacedomotz

domotz_drivers

Manage custom drivers and their associations with devices. List, create, delete, and update driver-device bindings, and execute driver actions on collectors.

Instructions

Manage custom drivers and their associations with devices. Use the "action" parameter to select an operation.

ACTION REFERENCE:

  • list: List all custom drivers (no parameters needed)

  • get: Get custom driver details (needs custom_driver_id)

  • create_association: Associate a driver with a device (needs custom_driver_id + agent_id + device_id + body)

  • delete_association: Remove a driver association (needs custom_driver_id + association_id)

  • update_association_params: Update association parameters (needs custom_driver_id + association_id + body)

  • list_associations: List driver associations for a collector (needs agent_id)

  • execute_action: Execute a custom driver action (needs custom_driver_id + agent_id + device_id + action_id + body)

  • re_enable: Re-enable failed associations (optional: include_unrecoverable flag)

GOTCHAS:

  • Workflow: list drivers first to get custom_driver_id, then create_association to bind to a device

  • execute_action needs action_id which comes from the driver definition

EXAMPLES:

  • List all drivers: {"action": "list"}

  • Show associations: {"action": "list_associations", "agent_id": 5}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
actionYesThe operation to perform
agent_idNoAgent/Collector ID
action_idNoDriver Action ID
device_idNoDevice ID
association_idNoAssociation ID
custom_driver_idNoCustom Driver ID
include_unrecoverableNoInclude unrecoverable associations in re-enable
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It details all eight actions and their required parameters, includes 'GOTCHAS' about workflow dependencies, and mentions the optional 'include_unrecoverable' flag. It does not describe side effects or permissions, but the action descriptions cover the main behavioral traits.

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?

The description is well-structured into sections: summary, action reference (bulleted), gotchas, and examples. It is front-loaded with the purpose, each sentence adds value, and there is no redundancy. The format is easy to parse for an AI agent.

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?

Given the complexity (8 actions, 8 parameters, no output schema), the description is comprehensive. It covers all actions, explains the workflow, and provides examples. It could mention the return format of each action, but the action reference and examples partially compensate. Overall, it is sufficiently complete for selecting and invoking the tool.

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 coverage is 100%, so the schema already describes each parameter. However, the description adds significant value by grouping parameters per action (e.g., 'list needs no parameters', 'create_association needs custom_driver_id + agent_id + device_id + body'), which goes beyond the schema's flat property descriptions.

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 'Manage custom drivers and their associations with devices', specifying the resource (custom drivers) and actions (list, get, create_association, etc.). It distinguishes from sibling tools (e.g., domotz_agents, domotz_devices) by focusing on driver-specific operations.

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

Usage Guidelines4/5

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

The description includes a 'GOTCHAS' section with workflow guidance (list drivers first, then create_association) and clarifies that execute_action needs action_id from the driver definition. It provides examples for list and list_associations. While it does not explicitly state when not to use this tool vs alternatives, the action reference and context make it clear.

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