Skip to main content
Glama
grandMA2 MCP
by drohi-r

set_attribute

Set a fixture attribute such as Pan, Tilt, Zoom, Focus, or Iris to a specific value, optionally selecting fixtures or a group first.

Instructions

Set a specific fixture attribute (Pan, Tilt, Zoom, etc.) to a value.

Controls individual fixture parameters beyond simple dimmer intensity.
Optionally select fixtures/group first.

Args:
    attribute_name: Attribute name (e.g. "Pan", "Tilt", "Zoom", "Focus", "Iris")
    value: Attribute value (typically 0-100 for percentage, or degrees for Pan/Tilt)
    fixture_id: Optional fixture to select first (single or range start)
    fixture_end: Optional end fixture for range selection
    group_id: Optional group to select first

Returns:
    str: JSON with commands_sent and raw_response.

Examples:
    - Set Pan to 120: attribute_name="Pan", value=120
    - Set Tilt to 50 on group 2: attribute_name="Tilt", value=50, group_id=2
    - Set Zoom on fixtures 1-10: attribute_name="Zoom", value=80, fixture_id=1, fixture_end=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": {
      "attribute_name": "<attribute_name>",
      "value": "<value>"
    },
    "name": "set_attribute"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
group_idNo
fixture_idNo
fixture_endNo
attribute_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/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 real side effect — fixtures/groups get selected as part of the call — and gives the return shape, but says nothing about permission requirements, what happens when the console has no selection, whether values are clamped or rejected per fixture type, or whether the selection change persists after the call.

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?

Well front-loaded: a one-line statement of what it does before the Args/Returns/Examples blocks. The Args block largely restates parameter names already visible in the schema, and the Returns line duplicates the existing output schema, so a little of the text does not earn 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 5-parameter mutation tool with no annotations, the definition covers purpose, per-parameter meaning with units, range selection, and worked examples — enough to invoke it correctly. Gaps are behavioral rather than semantic: no guidance on invalid attribute names, permission prerequisites, or interaction with an existing selection. The Returns section is redundant given the output schema exists.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it does: it gives value units ('typically 0-100 for percentage, or degrees for Pan/Tilt'), clarifies fixture_id is a 'single or range start' paired with fixture_end, and explains group_id selects first. Three concrete examples reinforce the range-selection semantics that the schema leaves entirely opaque.

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

Purpose5/5

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

States a specific verb and resource ('Set a specific fixture attribute ... to a value') and explicitly positions itself against the closest sibling by noting it 'Controls individual fixture parameters beyond simple dimmer intensity' — i.e. use set_intensity for dimmers, this for Pan/Tilt/Zoom/etc. An agent can distinguish it without opening the schema.

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

Usage Guidelines4/5

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

Usage context is clear: it is for non-intensity fixture parameters, and 'Optionally select fixtures/group first' tells the agent selection is a prerequisite that this tool can perform. It never names an alternative tool outright or states when NOT to use it, so it falls short of a 5.

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