Skip to main content
Glama

set_device_name

Rename a ZONT device and optionally update its note by device ID, providing a safe way to verify settings write access.

Instructions

Переименовать устройство (и, при желании, изменить заметку).

Параметры: device_id: идентификатор устройства. name: новое название устройства. note: необязательная заметка об устройстве.

Безобидный способ проверить работу записи настроек.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
noteNo
device_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

B3.3/5.0
Behavior2/5

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

There are no annotations, so the description must explain behavior. It states the mutation is harmless and that a note is optional, but it does not say that renaming overwrites the previous name, what happens when the device_id does not exist, what permissions are required, or what the call returns.

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 verb is front-loaded, followed by a compact parameter list and a closing usage hint. Every line contributes, and the slight duplication of the schema is justified at 0% coverage.

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

Completeness3/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. However, this is an unannotated mutation tool, and the description does not cover overwrite semantics, error behavior, or persistence effects, leaving real gaps for a write operation.

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%; the schema gives only types. The description meaningfully defines all three parameters: device_id is the device identifier, name is the new name, and note is optional. It compensates well, though it omits any constraint on the name, such as length or allowed characters.

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 description gives a specific verb and resource: rename a device, optionally changing a note. That is unambiguous. It does not distinguish itself from the sibling update_device_settings, which also mutates device configuration, so the reader must infer the boundary.

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 closing line, that this is a 'harmless way to check that settings writing works', implies a valid use as a connectivity or write test. No explicit when-not-to-use guidance, prerequisites, or named alternative is given, so the guidance is only implied.

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