Skip to main content
Glama
adrighem

Domoticz MCP Server

by adrighem

Call raw Domoticz API

call_domoticz_api
Destructive

Make raw Domoticz API calls when dedicated tools fail. Requires explicit confirmation to execute high-impact commands.

Instructions

Raw API call. Use if dedicated tools fail. Requires confirm=True.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramYesDomoticz command parameter
kwargsYesAdditional Domoticz query parameters
confirmNoExplicitly confirm this high-impact operation

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0
  2. Removedv1.3.1
  3. Addedv1.2.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, so the agent already knows this is a high-impact operation. The description adds the requirement 'Requires confirm=True', which provides actionable behavioral context beyond the schema (the schema has default false). It does not contradict annotations and adds modest value.

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 two short sentences with zero fluff. The core purpose ('Raw API call') is front-loaded, followed by usage guidance and a critical requirement. Every word earns its place.

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?

For a raw fallback tool, the description is minimal but sufficient for an expert, especially with an output schema present. It does not explain the expansive power of the API or potential misuse beyond the confirm requirement, but the annotations already signal destructiveness. It's adequate but could warn more explicitly about the breadth of operations.

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?

The schema covers 100% of parameters with descriptions, but those descriptions are generic ('Domoticz command parameter', 'Additional Domoticz query parameters'). The description adds the semantic guidance that confirm must be true, which is valuable. However, it does not clarify the meaning of param or kwargs further, so it only marginally improves on schema.

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 a clear verb ('call') and resource ('raw Domoticz API'), distinguishing it as a generic fallback from the sibling-specific tools. It's more specific than a tautology, but it doesn't describe what kinds of operations it can perform beyond being a raw API call. The title reinforces the purpose.

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 explicitly says 'Use if dedicated tools fail', giving a clear condition for when this tool should be invoked. It implies the alternative (dedicated tools) but doesn't list them; the sibling list provides that context. It does not state explicit exclusions, but the fallback role is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.