Skip to main content
Glama

set_heating_mode

Switch a ZONT heating circuit to a specified mode, such as Comfort, Economy, or Off, by providing the device, circuit, and mode IDs. Use this to control heating or turn a circuit off.

Instructions

Переключить режим отопления в конкретном контуре.

Параметры: device_id: идентификатор устройства. circuit_id: идентификатор контура (из get_heating_circuits). mode_id: идентификатор режима (id из heating_modes конфигурации, например «Комфорт», «Эконом», «Выключен»).

Включение и выключение контура выполняется только через смену режима. Режим «Антизаморозка» или «Выключен» эффективно выключает нагрев.

Доставка команды гарантирована: сервер повторяет до подтверждения устройством.

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>",
      "circuit_id": "<circuit_id>",
      "mode_id": "<mode_id>"
    },
    "name": "set_heating_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
mode_idYes
device_idYes
circuit_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

A4.2/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 disclose meaningful behavior beyond the schema: delivery is guaranteed via server retries until the device confirms, and the on/off mechanism is only mode switching. It does not cover permissions/auth needs, whether the previous mode is recoverable, or failure behavior for an invalid mode_id, which keeps it short of a 5.

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?

Purpose sentence comes first, then a compact parameter block, then two short behavioral notes. Every line carries information; the only minor waste is restating parameter names in the block, which is standard and readable rather than padding.

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?

An output schema exists, so return values need not be explained, and the description covers the mutation semantics and delivery guarantee that annotations would otherwise supply. Remaining gaps are edge-case handling (invalid mode_id, permission requirements) and explicit contrast with the temporary-mode siblings, which matter for a write tool but are secondary.

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?

Schema description coverage is 0% and the schema only exposes bare integer types with titles, so the description must compensate — and it does: it defines all three parameters, states where circuit_id and mode_id values come from, and gives concrete mode name examples ('Комфорт', 'Эконом', 'Выключен'). This is the main value-add of the definition.

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?

States a specific verb and resource (switch heating mode) plus scope ('в конкретном контуре' — a single circuit), which implicitly separates it from the sibling set_heating_mode_all. It never names that sibling or set_temporary_heating_mode explicitly, so an agent must infer the boundary, but the core action is unambiguous.

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?

Gives genuinely useful usage context: how to obtain circuit_id (from get_heating_circuits) and mode_id (from the heating_modes config), and clarifies that turning a circuit on/off is done only via a mode change, with 'Антизаморозка'/'Выключен' effectively disabling heating. What is missing is guidance on when to prefer this over set_heating_mode_all or set_temporary_heating_mode — no exclusions or alternatives are stated.

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