Skip to main content
Glama

Set Pan/Tilt

gma3_set_position

Set Pan and Tilt in the grandMA3 programmer using degrees or percent, targeting explicit fixtures or the current selection. Optionally verify values after writing.

Instructions

Set Pan and/or Tilt in the programmer with explicit units: unit "degrees" sends Attribute "Pan" At Absolute Physical <v>, unit "percent" sends ... At Absolute Percent <v> (0..100). Pan first, then Tilt; stops at the first rejected command. Target is explicit: fixtures OR use_selection: true. With fixtures the tool sends ClearSelection and then SELECTS exactly those fixtures (the selection changes; previously selected fixtures are not affected unless add_to_selection is true). Never clears programmer values. Small explicit targets are pre-checked against the fixture type's attributes (check_attributes); after setting, the programmer is read back and Pan/Tilt are compared per fixture in the unit sent, converting degrees through each fixture's physical range (verify). A fixture without Pan/Tilt is a mismatch, not a success. Serialised against this server's other mutations only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
panNoPan value in `unit`. At least one of pan/tilt is required.
tiltNoTilt value in `unit`.
unitYes"degrees" (Physical readout, negative values allowed) or "percent" (0..100). Required.
verifyNoRead the programmer back after setting (default true): every targeted fixture must hold the value, compared in the unit it was sent in (percent of the attribute range, tolerance 0.5 %). A fixture without the attribute is reported as a mismatch. Needs plugin 0.3.2 or newer; older plugins yield verification 'unavailable'.
fixturesNoExplicit target: fixture IDs/ranges ("1 Thru 5", "1 + 3 + 5 Thru 8", "Fixture 101.1") or a group ("Group 5"). Exactly one of fixtures / use_selection is required.
use_selectionNoApply to the fixtures currently selected on the console (explicit opt-in). Fails before sending when nothing is selected.
add_to_selectionNoWith `fixtures`: keep the fixtures already selected and add the target to them, so previously selected fixtures ALSO receive the values (explicit opt-in). Default false: ClearSelection is sent first so exactly the named fixtures are targeted. ClearSelection only deselects; programmer values are never cleared.
check_attributesNoWith `fixtures` resolving to at most 8 fixtures (default true): check each fixture type's attribute list first and fail before sending when a fixture lacks the attribute. Skipped for groups and larger targets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden, and it delivers: it discloses that ClearSelection is sent (selection changes) but programmer values are never cleared, that execution stops at the first rejected command, that a fixture lacking Pan/Tilt is a mismatch not a success, and that it is serialised against other mutations. This is exactly the side-effect and failure-mode disclosure an 8-param mutation tool needs.

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 purpose and dense but largely non-redundant; nearly every clause carries behavioural or targeting information. It is a single long paragraph with some overlap against the schema descriptions (e.g., use_selection/add_to_selection), which costs it the top mark.

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

Completeness5/5

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

With no annotations, no output schema, and 8 parameters, the description covers everything an agent needs: units, targeting rules, selection side effects, verification/readback semantics, and failure handling. There is no significant gap left for correct invocation.

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 coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by explaining what the `unit` value actually dispatches (`Attribute "Pan" At Absolute Physical <v>` vs `... At Absolute Percent <v>`) and the ordering (Pan first, then Tilt). It reinforces rather than merely repeats the parameter docs.

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 (Set) and resource (Pan and/or Tilt in the programmer) with explicit scope. An agent can distinguish this from siblings like gma3_set_attribute or gma3_set_color without opening a schema, since the title and first clause pin it to pan/tilt positioning.

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?

Gives clear operational context: target must be either `fixtures` or `use_selection: true`, values are set in the programmer, and pre-check/verify conditions are explained. It stops short of naming sibling alternatives (e.g., when to prefer gma3_set_attribute for non-pan/tilt), so it is clear context without explicit routing.

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