Skip to main content
Glama

set_night_mode

Idempotent

Configure night mode settings for air-Q sensors, including start/end times, brightness levels, and options to disable fan, wifi, or alarm at night.

Instructions

Configure night mode. Times in 'HH:mm' format (UTC).

brightness_day/brightness_night are percentages (0-100).
fan_night_off disables the particle sensor fan at night.
wifi_night_off caches data to SD and uploads when wifi returns.
alarm_night_off disables acoustic warnings (fire/gas still trigger).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
activatedYes
start_nightNo22:00
start_dayNo06:00
brightness_dayNo
brightness_nightNo
fan_night_offNo
wifi_night_offNo
alarm_night_offNo
deviceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description adds behavioral context beyond annotations, explaining actions like wifi_night_off caching data and alarm_night_off still allowing fire/gas triggers. Annotations are minimal, so the description effectively fills gaps.

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 concise, front-loaded with purpose, and uses efficient bullet-point-like structure. Every sentence adds value without redundancy.

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

Completeness5/5

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

Given 9 parameters and a required field, the description covers all parameters with sufficient detail, including edge cases (fire/gas still trigger). The presence of an output schema further reduces the need to explain returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully explains each parameter (e.g., brightness percentages, boolean flags with side effects), adding critical meaning beyond names and types.

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 'Configure night mode' and provides specific details about time format and parameter effects, distinguishing it from siblings like get_night_mode.

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

Usage Guidelines3/5

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

The description lacks explicit guidance on when to use this tool versus alternatives, such as when to use get_night_mode for reading or set_brightness for brightness only. The context is implied but not directive.

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/CorantGmbH/mcp-airq'

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