Skip to main content
Glama

get_config

Retrieves a ZONT device's configuration in full or by section to inspect current values and object IDs before modifying settings; secrets are masked unless explicitly revealed.

Instructions

Прочитать конфигурацию устройства (z3k_config) целиком или один раздел.

Параметры: device_id: идентификатор устройства. section: необязательное имя раздела, например heating_circuits, heating_modes, calibration_tables, radiosensors. Без него возвращается вся конфигурация (может быть велика). reveal_secrets: по умолчанию False — секретные поля (password, usbpassword, пароль Wi-Fi) заменяются на '***'. True — показать как есть (только для локального восстановления и диагностики; не копируйте в документы).

Используй перед изменением настроек, чтобы узнать идентификаторы объектов и текущие значения полей.

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

Input Schema

NameRequiredDescriptionDefault
sectionNo
device_idYes
reveal_secretsNo

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 substantial work: secrets (password, usbpassword, Wi-Fi password) are masked as '***' by default, reveal_secrets=True is limited to local recovery/diagnostics with an explicit warning not to copy into documents, and omitting section may return a very large payload. It does not state permissions or rate limits, but the disclosure is well above baseline.

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 one-line purpose followed by a scoped parameter block and a usage note; each part earns its place given the empty schema. The parameter list duplicates names from the schema, which is necessary here but slightly verbose.

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 three-parameter read tool with an output schema (so return shape need not be explained), the definition covers purpose, parameter meaning, secret handling, and payload-size risk. Only authorization requirements and how section selection interacts with output shape are left unstated.

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%, so the description must compensate, and it does: each of the three parameters gets explicit meaning, including example section names (heating_circuits, heating_modes, calibration_tables, radiosensors) and the default/behavior of reveal_secrets that the bare boolean schema does not convey.

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 ('Прочитать конфигурацию устройства (z3k_config)') plus the scope choice (whole vs. one section). It is clearly a read of configuration rather than of live state, though it never explicitly contrasts itself with siblings like get_device_state or get_system_summary.

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 a concrete when-to-use: 'Используй перед изменением настроек, чтобы узнать идентификаторы объектов и текущие значения полей', which tells the agent to read before mutating. No alternative tool is named and no when-not-to-use case is stated beyond the diagnostic-only warning on reveal_secrets.

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