Skip to main content
Glama

Rename an element

myio_rename
DestructiveIdempotent

Set or clear the name of a myIO smart home element by specifying its kind and ID; an empty name removes it.

Instructions

Set the name (description) of an element. kind: relay (id 1..RQ), pca (2001.. or channel 1..), fet (101..), group (501.. or 1..), input (1..SQ), thermo (1-Wire sensor id 1..100), humidity (channel index 0..), usens (4.x, id 0..SENQ), shelly (4.x), scene (slot 0..). Empty name clears it. Editor level; accents are fine.

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": {
      "kind": "<kind>",
      "id": "<id>",
      "name": "<name>"
    },
    "name": "myio_rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
kindYes
nameYes
serverNocontroller name (default Ground floor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true, readOnlyHint=false), the description discloses the key destructive behavior — 'Empty name clears it' — plus the auth requirement 'Editor level' and a practical note that 'accents are fine'. It does not state return values or failure behavior for invalid ids, 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?

Front-loaded with the action, followed by the dense per-kind id table and the clearing rule. The long parenthetical id-range list is run-on but each token carries necessary mapping information; little is wasted, though a structured list would scan better.

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 4-parameter mutation tool with no output schema and annotations already covering safety/idempotency, the description supplies the domain knowledge an agent needs: valid id spaces per kind, the clearing convention, and the required privilege level. Remaining gaps (response shape, error behavior on out-of-range ids, the `server` param) are minor but non-zero.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25% (only `server` is documented), and the description compensates well for `id` and `name` by explaining the id numbering scheme per kind value and that an empty name clears the field. However it never mentions the `server` parameter or its default, and the id range list is compact enough that the pairing to semantics is implicit rather than stated.

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+resource: 'Set the name (description) of an element.' It is clear what the tool does, though it does not explicitly distinguish itself from the many sibling setter tools (myio_dmx_set, myio_expander_set, etc.), leaving the agent to infer that this one handles naming rather than configuration.

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 context is only implied: the 'Editor level' note signals the privilege required, but there is no explicit when-to-use, when-not-to-use, or pointer to an alternative for renaming-adjacent operations. The agent can infer it is the rename tool by name/title, but the description adds no routing guidance.

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

Deploy Server

Other Tools