Skip to main content
Glama
gma3-mcp

gma3-mcp

by nf-s

Add, update or remove layout elements

gma3_edit_layout_elements

Apply up to 100 validated add, update, or remove edits to elements in an existing grandMA3 layout and data pool without clearing or rebuilding it.

Instructions

Apply up to 100 explicit element edits in one existing layout and required data pool. Add requires integer x/y/width/height in layout units; positions are Int16 and dimensions 1..32767. Update/remove require the current element number and GUID from gma3_layouts; stale/duplicate identities, locks and read-only properties are refused. Never clears/rebuilds the layout. Add sends Store Layout n.k /NoConfirmation to append a blank element; assignment uses set Object with a resolved numeric address, never Assign At Layout n.k (which appends). Remove sends Delete Layout n.k /NoConfirmation for the confirmed GUID. Other supplied fields use one set each. Object assignment accepts Macro/Sequence/Group; replacing a different assignment requires replace_object:true. Actions are validated for the actual assigned object class. Appearance overrides use a global Appearance pool number, resolved and verified by encoded handle/address. Custom text preserves case, quotes and internal spaces; leading/trailing whitespace is refused because read-only bridge fields trim it. Custom text accepts RGBA hex colour, captured font-size enums and alignment; visibility accepts Visible/Hidden. Reads GUIDs and typed object handles separately, and verifies identities, supplied properties and object addresses after edits; visual rendering and actual action execution are not verified. Does not select fixtures, clear programmer values, invoke layout elements, or execute assigned macros or sequences. Uses existing bridge operations without Lua, OSC fallback or automatic replay. Preview reads and validates without mutations. Mutations are serialised within this server, without isolation from another operator or client. Every property write requires read-back; uncertain writes stop the plan and require inspection before retrying. Layout Viewer window setup, grid and fit settings are outside this tool.

Input Schema

NameRequiredDescriptionDefault
editsYes
layoutYes
previewNo
data_poolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations provided, the description thoroughly discloses mutation and failure behavior: stale identities, locks, and read-only properties are refused; removals target confirmed GUIDs; writes require read-back; and uncertain writes stop the plan. It also covers preview non-mutation, post-edit verification limits, serialization without cross-client isolation, and the absence of macro, sequence, or layout-element execution.

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?

The description is front-loaded and nearly every sentence supplies a useful constraint, prerequisite, or boundary. However, it is a very dense single paragraph, and the command-level implementation details make it harder to scan than a short overview followed by grouped operation and safety notes.

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?

For a complex nested batch-mutation tool with no annotations or output schema, the description supplies unusually complete invocation context: prerequisites, per-operation behavior, validation, side effects, verification, concurrency limitations, and explicit non-goals. An agent has enough information to construct edits safely and understand what success does and does not prove.

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?

Despite 0% schema description coverage, the description explains nearly all consequential inputs, including geometry units and ranges, identity provenance, supported object classes, replacement semantics, appearance-pool addressing, text formatting constraints, visibility values, and preview behavior. It adds operational meaning rather than merely restating field names or types.

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?

The opening sentence precisely defines the operation and scope: applying up to 100 element edits within one existing layout and data pool. It then distinguishes add, update, and remove behavior and explicitly excludes clearing or rebuilding the layout and configuring Layout Viewer settings.

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

Usage Guidelines5/5

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

It gives concrete prerequisites for each operation, including required geometry for additions and current element numbers and GUIDs from gma3_layouts for updates and removals. It also explains when replace_object is necessary, how to use preview safely, and which tasks are outside the tool's scope.

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