Skip to main content
Glama

set_temporary_heating_mode

Set a temporary heating mode for a ZONT device with a duration or local end time; heating reverts automatically when time expires.

Instructions

Включить режим отопления на ограниченное время (временный режим).

Параметры: device_id: идентификатор устройства. mode_id: идентификатор режима (из heating_modes, например «Эконом»). duration_minutes: длительность действия в минутах. hour, minute: необязательное время суток (местное), до которого действует режим; при указании оба поля обязательны.

По истечении срока или после reset_temporary_heating_mode система вернётся к прежнему режиму автоматически.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "device_id": "<device_id>",
      "mode_id": "<mode_id>",
      "duration_minutes": "<duration_minutes>"
    },
    "name": "set_temporary_heating_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
hourNo
minuteNo
mode_idYes
device_idYes
duration_minutesYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses that the mode is time-bounded, that the system automatically reverts to the previous mode on expiry or after reset, and that hour/minute must be supplied together. It omits permission requirements, behavior when a temporary mode is already active, and any error conditions.

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

Conciseness4/5

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

The description is front-loaded with the purpose, then uses an aligned parameter list followed by the lifecycle note, so every section earns its place. Minor waste in the parenthetical '(временный режим)', which restates 'на ограниченное время'.

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

Completeness4/5

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

For a mutation tool with no annotations, five undocumented parameters, and an output schema that already covers return values, the description supplies the essential behavior (auto-revert), parameter meanings, and conditional requirements. It is short of complete only on error paths and what happens if a temporary mode already exists.

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?

Schema description coverage is 0%, so the description must compensate, and it documents all five parameters: device_id, mode_id (with its source in heating_modes and an example value), duration_minutes in minutes, and hour/minute as optional but mutually required local time-of-day. It stops short of giving accepted ranges for hour, minute, or duration_minutes.

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 states a specific verb and resource ('Включить режим отопления') and constrains scope to a limited time ('временный режим'). It also names reset_temporary_heating_mode, letting an agent separate this from the permanent-heating siblings without opening the schema.

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?

Usage is implied through the temporary-mode semantics and the mention of reset_temporary_heating_mode as the way to cancel early, but the description never says explicitly when to choose this over set_heating_mode versus when to use the reset tool. Guidance is inferable rather than stated.

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