Skip to main content
Glama

rename_device

Idempotent

Rename an IKEA DIRIGERA smart home device by specifying its device ID and a new name so devices stay clearly identified.

Instructions

Rename a device.

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": "rename_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
device_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered elsewhere. The description adds no behavioral context of its own: it does not say what happens to the previous name, whether names must be unique, whether the device must be reachable, or what a failure looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no wasted words and is front-loaded, but the brevity is under-specification rather than conciseness: the entire definition carries less information than the tool name plus JSON schema already convey.

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

Completeness2/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 annotations cover the safety profile. Still, for a two-parameter mutation with zero schema description coverage, the definition should say something about targeting, naming constraints, or side effects; it says nothing beyond the title.

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

Parameters2/5

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

Schema description coverage is 0% — the schema supplies only bare titles ('Name', 'Device Id') and a minLength on name. The description implicitly ties device_id to the target and name to the new name, but offers no format, casing, length, or uniqueness guidance to compensate for the missing schema documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Rename a device." restates the tool name almost verbatim: verb 'rename' plus resource 'device'. It does not distinguish this from sibling operations like control_device or move_devices_to_room beyond the obvious naming, and adds no scope detail such as whether it applies to physical devices, device sets, or rooms.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites (e.g. must the device be online or belong to the caller's hub), and no mention of alternatives or limits. An agent can infer only that this is the rename operation among the sibling tools; nothing is stated explicitly.

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