Skip to main content
Glama
adrighem

Domoticz MCP Server

by adrighem

create_virtual_sensor

Create a virtual sensor in Domoticz by specifying hardware index, sensor name, and type (e.g., temperature, humidity).

Instructions

Create a virtual sensor.

hw_idx: IDX of the dummy hardware.

sensortype (Sensor Type): 1: Temperature 2: Humidity 3: Temp + Humidity 4: Barometer 5: Temp + Hum + Baro 6: Rain 7: UV 8: Wind 10: Lux 11: Voltage 12: Current 13: Distance 14: Text 15: Alert 17: Percentage 19: Counter 113: kWh (Energy)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hw_idxYes
sensornameYes
sensortypeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must convey behavioral traits. It mentions 'dummy hardware' but does not disclose side effects, authentication needs, or what happens on creation (e.g., confirmation, error handling). The list of sensortype values is helpful but insufficient for full transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core action and then lists parameter details. It is fairly concise, but the parameter list is somewhat unstructured (e.g., 'sensortype (Sensor Type):' followed by a list). It could be more compact without losing clarity.

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?

Given the tool's simplicity (3 required parameters, no nested objects) and the presence of an output schema, the description is mostly complete. However, it lacks usage guidelines and behavioral context, which are needed for full completeness.

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?

With 0% schema description coverage, the description adds meaning for hw_idx ('IDX of the dummy hardware') and sensortype (lists numeric values with labels). However, sensorname is not described beyond its schema title. This partial addition is helpful but not comprehensive.

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?

The description states 'Create a virtual sensor' which is a specific verb and resource. It distinguishes from sibling tools like create_event or delete_device. However, it does not elaborate on what a virtual sensor is or how it differs from a physical sensor, slightly reducing clarity.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus alternatives. No prerequisites, when-not-to-use, or context about the dummy hardware index or required permissions are provided.

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/adrighem/domoticz-mcp'

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