Skip to main content
Glama
Smart House MCP Server

Smart House MCP Server

set_brightness

Adjust a smart device or group’s brightness from 1–100 and automatically power it on when off.

Instructions

Set the brightness of a device or group (1-100). Turns device on automatically.

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": {
      "target": "<target>",
      "brightness": "<brightness>"
    },
    "name": "set_brightness"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesDevice/group identifier
brightnessYesBrightness percentage 1-100

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose one important side effect — the device is turned on automatically — which the schema does not convey, but it says nothing about failure behavior for offline devices, group vs single-device semantics, or whether the setting is persisted.

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

Conciseness5/5

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

Two short sentences with zero filler, and the core action is front-loaded before the side-effect note. Every clause earns its place.

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 two-parameter setter with full schema coverage and no output schema, the description covers the action, the value range, and the key auto-on side effect. Only edge-case behavior (offline device, group fan-out) is absent, which is a minor gap at this complexity.

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 description coverage is 100%, and the schema already documents both `target` (device/group identifier) and `brightness` (1-100 percentage), including the min/max bounds. The description's "(1-100)" merely repeats the schema, adding no new meaning; baseline 3 applies.

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?

"Set the brightness of a device or group" gives a specific verb and resource, and the resource (brightness) is inherently distinct from siblings like set_color and set_color_temp. However, the description never explicitly names those alternatives, so differentiation relies on the agent inferring it from the resource noun.

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: nothing says whether to prefer this over control_device or turn_on, nor any precondition such as the device needing to be reachable. The only contextual note, "Turns device on automatically," is a behavioral side effect rather than routing guidance.

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