Skip to main content
Glama
adrighem

Domoticz MCP Server

by adrighem

Update event script

update_event
DestructiveIdempotent

Update a Domoticz event by providing its ID, new name, interpreter, type, and source script. Requires explicit confirmation to apply changes.

Instructions

Update script. Cross-ref: domoticz://event/{event_id}. Requires confirm=True.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesEvent script name
confirmNoExplicitly confirm this high-impact operation
event_idYesCanonical Domoticz event ID
event_typeYesDomoticz event type
eventstatusNo1 to enable the event, 0 to disable it1
interpreterYesDomoticz event interpreter
xmlstatementYesReplacement event source or Blockly XML

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoOptional Domoticz response title
statusYesStatus returned by Domoticz, normally OK
Behavior3/5

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

Annotations already indicate destructiveHint=true, so the description's mention of 'Requires confirm=True' adds limited value by confirming the high-impact nature. No contradictions with annotations. Additional behavioral details about the update process are missing.

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 very short (two sentences), which is concise but omits important context. It is front-loaded but lacks detail about the tool's purpose and behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 parameters (5 required) and an output schema not described, the description is incomplete. It does not explain return values, side effects, or differentiation from sibling 'create_event'. The tool is complex but the description is sparse.

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?

Input schema has 100% description coverage, so the schema already documents all parameters. The description does not add any extra semantic meaning beyond what is in the schema, meeting the baseline expectation.

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?

The description states 'Update script' which clearly indicates a modification operation on an event script, and the cross-reference provides context. However, it does not distinguish itself from the sibling tool 'create_event' or specify the scope of update.

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 tool versus alternatives like 'create_event'. The description mentions a requirement for confirm=True but does not explain when this tool is appropriate or when other tools should be used.

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