Skip to main content
Glama

set_target_temperature

Set a target temperature for a specific heating circuit, applying a manual correction that overrides the current mode until the next mode change.

Instructions

Задать целевую температуру в конкретном контуре отопления.

Параметры: device_id: идентификатор устройства. circuit_id: идентификатор контура. target_temp: целевая температура в градусах Цельсия (как на слайдере веб-кабинета, шаг 0,5).

Внимание: целевая температура имеет приоритет над текущим режимом. Это «ручная коррекция» — действует до следующей смены режима. Шаг задания — поле temp_step конфигурации (обычно 0,5 °C); диапазон подачи теплоносителя — поля water_min_temperature / water_max_temperature контура (см. get_heating_circuits).

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>",
      "target_temp": "<target_temp>"
    },
    "name": "set_target_temperature"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idYes
circuit_idYes
target_tempYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

A4/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 meaningful work: it discloses precedence over the active mode, that the override persists only until the next mode change, and that the allowed range/step come from config fields. What is missing is anything about permissions, failure behavior (e.g. out-of-range rejection), or reversibility, which leaves real gaps for an unannotated mutation tool.

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?

Front-loaded with the action, followed by a compact parameter block and a clearly marked warning about precedence and persistence. Dense but well-organized; the parenthetical about the slider and the repeated note on step size are slightly redundant with the config-field explanation.

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 3-required-param mutation with an output schema (so return values need not be described), the definition covers what matters: precedence, duration of effect, and legal value bounds. The main residual gap, unhandled error conditions and the language mismatch with the otherwise English tool set, keeps it from a 5.

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% (bare integer/number titles), so the description must compensate, and it largely does: target_temp gains units (Celsius), a granularity (step 0.5, matching the web slider) and a range source (water_min_temperature / water_max_temperature from get_heating_circuits). device_id and circuit_id are only restated as 'identifier', adding little beyond the 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 first sentence states a specific verb and resource ('set target temperature in a specific heating circuit'), which is enough to distinguish it from mode-level siblings like set_heating_mode and from set_dhw_temperature. It stops short of naming any sibling explicitly, so differentiation relies on the agent's own inference from the phrase 'specific heating circuit'.

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 gives clear operational context: the value overrides the current mode, is a 'manual correction', and lasts until the next mode change — exactly the conditions an agent needs before choosing this over a mode-setting tool. It also points to get_heating_circuits for the valid range, but never states an explicit alternative such as 'use set_heating_mode to change the regime'.

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