Skip to main content
Glama

control_device_set

Idempotent

Applies changes such as power, brightness, volume, or blinds level to every device of one type in a device set, letting you control grouped IKEA DIRIGERA devices at once.

Instructions

Control every device of one type in a device set.

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_set_id": "<device_set_id>",
      "device_type": "<device_type>",
      "changes": "<changes>"
    },
    "name": "control_device_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYes
device_typeYesSuch as light, outlet, blinds or speaker.
device_set_idYes
transition_millisecondsNoFade time for lights, in milliseconds.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare this is a non-readOnly, idempotent, non-destructive mutation, so the safety profile is partly covered. However, the description adds nothing about partial-update behavior (that omitted fields stay unchanged), what happens to devices of other types in the set, permission requirements, or how transitions are applied—all critical for a bulk mutation.

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

Conciseness3/5

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

It is a single front-loaded sentence with no filler, so nothing is wasted. But the brevity here reflects under-specification rather than disciplined conciseness—there is room for one or two more sentences that would materially help.

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?

For a bulk mutation tool taking a nested partial-update object and an optional transition parameter, with an output schema present, the description is too thin. It omits the semantics of the changes payload and the difference from single-device control, leaving gaps that neither annotations nor the 50%-covered schema fill.

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 coverage is only 50%, and the description never mentions any parameter by name or explains its meaning. At best it obliquely maps to device_set_id and device_type ('of one type in a device set'); it says nothing about the nested changes object or transition_milliseconds, leaving the agent to rely on schema titles alone.

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 names a concrete verb ('Control') and a precise scope ('every device of one type in a device set'), which implicitly separates it from the single-device sibling control_device. It stops short of naming that sibling or clarifying what 'control' encompasses, but an agent can tell what resource is being acted on.

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 guidance on when to use this bulk operation versus control_device or control_room, and no stated preconditions. The agent must infer the when-to-use case purely from the phrase 'every device of one type'.

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