Skip to main content
Glama
adrighem

Domoticz MCP Server

by adrighem

get_security_status

Retrieve the current status of the security panel in your Domoticz system for home security monitoring.

Instructions

Get the current status of the security panel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The get_security_status tool handler function. It's an async function decorated with @mcp.tool() that calls the Domoticz API endpoint 'getsecstatus' to retrieve the current security panel status.
    @mcp.tool()
    async def get_security_status() -> str:
        """Get the current status of the security panel."""
        async with create_client() as client:
            response = await _do_request(client, "GET", f"{DOMOTICZ_API_URL}?type=command¶m=getsecstatus")
            return response.text
  • The tool is registered via the @mcp.tool() decorator on line 1103, which is the standard FastMCP tool registration mechanism.
    @mcp.tool()
    async def get_security_status() -> str:
  • The tool takes no parameters (no input schema) and returns a string. The docstring describes it as: 'Get the current status of the security panel.'
    """Get the current status of the security panel."""
Behavior2/5

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

The description does not disclose behavioral details like whether the operation is safe (read-only), error conditions (e.g., offline panel), or any authentication requirements. With no annotations, the description carries full burden but provides minimal context.

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?

A single concise sentence that is front-loaded and contains no unnecessary words. It efficiently conveys the tool's purpose.

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?

The description is minimal but adequate for a simple getter with an output schema. However, it lacks context on what 'security status' entails and what the return values represent, which could be important for correct interpretation.

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?

There are no parameters, so schema coverage is 100%. The description does not need to add parameter information, and the baseline for zero parameters is 4.

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 the action ('Get') and the resource ('current status of the security panel'), which distinguishes it from the sibling tool 'set_security_status'.

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, such as when to query versus set the status. No mention of any prerequisites or complementary tools.

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