Skip to main content
Glama
grandMA2 MCP
by drohi-r

set_intensity

Adjust dimmer intensity for fixtures, groups, or channels by choosing a target and setting a 0–100% level, with optional ID ranges.

Instructions

Set the intensity (dimmer) level on fixtures, groups, or channels.

This is the most fundamental lighting operation — controlling how bright
lights are. Selects the target and sets it to the specified percentage.

Args:
    target_type: Object type — "fixture", "group", or "channel"
    target_id: Object ID number
    level: Intensity percentage (0-100). Use 0 for off, 100 for full.
    end_id: End ID for range selection (e.g., fixture 1 thru 10)

Returns:
    str: JSON with command_sent and raw_response from the console.

Examples:
    - Set fixture 1 to 50%: target_type="fixture", target_id=1, level=50
    - Set group 3 to full: target_type="group", target_id=3, level=100
    - Set fixtures 1-10 to 75%: target_type="fixture", target_id=1, level=75, end_id=10

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_type": "<target_type>",
      "target_id": "<target_id>",
      "level": "<level>"
    },
    "name": "set_intensity"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYes
end_idNo
target_idYes
target_typeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 the level semantics (0 = off, 100 = full) and that a raw console response is returned, but never states that this mutates live output, whether it overrides playback values, or what happens on an invalid target.

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 purpose sentence before args, returns, and examples, and every section is compact. Some of the Args block restates the input schema, so it is slightly longer than strictly necessary.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Good coverage of parameters and call examples for a four-parameter live-console mutation, and the output schema means returns need not be spelled out. However, with no annotations at all, the definition should say more about live-impact and failure behavior for a tool that changes console state.

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

Parameters4/5

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

Schema description coverage is 0%, so the docstring must compensate and largely does: it enumerates the three valid target_type values (absent from the schema), gives the 0-100 range for level, and explains end_id as range/thru selection with a concrete example. target_id is only described as "Object ID number" with no hint where IDs come from.

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 ("Set the intensity (dimmer) level on fixtures, groups, or channels") and clarifies scope with the target set. It reads clearly apart from attribute/executor-level siblings, though it never names an alternative tool to sharpen the boundary.

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?

Frames the tool as "the most fundamental lighting operation" and the worked examples imply the common call patterns, but there is no explicit when-to-use/when-not guidance and no mention of alternatives such as set_executor_level or adjust_value_relative.

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