Skip to main content
Glama

control_room

Idempotent

Control every device of one type in a room by applying changes such as power, brightness, volume, color, or blinds position.

Instructions

Control every device of one type in a room.

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": {
      "room_id": "<room_id>",
      "device_type": "<device_type>",
      "changes": "<changes>"
    },
    "name": "control_room"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYes
room_idYes
device_typeYesSuch as light, outlet, blinds or speaker.
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.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the mutation and safety profile is covered. The description adds the meaningful behavioral fact that the write fans out to all matching devices, but says nothing about permissions, partial failure across devices, or what happens when a device type does not support a supplied field.

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?

A single front-loaded sentence with no waste, which is structurally clean. However, its brevity comes at the cost of substance rather than being earned compression, so it is efficient but under-specified rather than tight.

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 multi-device mutation with four parameters and only 50% schema coverage, the description should address fan-out semantics, whether all devices must support the requested changes, and how failures are reported. An output schema exists, so return values need no explanation, but the operational gaps around a bulk write are left entirely to the agent's assumptions.

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 50% and the description contributes no parameter meaning at all; it never explains room_id, device_type, changes, or transition_milliseconds. The only helpful prose (device_type examples, the 'leave out everything that should stay as it is' note, the color_hue/color_saturation pairing) lives in the schema, not the description, so the description adds zero value here.

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 pair: it controls every device of one type within a room. The scope phrase 'every device of one type in a room' implicitly separates it from the single-device sibling control_device, though the generic verb 'control' and the absence of any explicit sibling reference keep it from a 5.

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?

The description gives no when-to-use guidance, no exclusions, and never names control_device or control_device_set as the alternative for single-device or device-set changes. An agent must infer the bulk-vs-single split 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.