Skip to main content
Glama

hmi_native_art_objects

Manages HMI artwork by binding existing art groups or FLBX files to on/off switches and read-only lamps, selecting two states and compositing multilayer assets into one PNG per state.

Instructions

在位开关或只读灯绑定已有图组或 FLBX;可显式选两态,多层素材可合成为每态一张 PNG。

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": {
      "mode": "<mode>",
      "project": "<project>",
      "factory_path": "<factory_path>"
    },
    "name": "hmi_native_art_objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
destNo
modeYes
nameNo
entryNo
groupNo
indexNo
libraryNo
projectYes
runtimeNo
targetsNo
layer_modeNo
factory_pathYes
source_sha256No
state_indicesNo
library_sha256No
runtime_sha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.6/5.0
Behavior3/5

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

Annotations only supply readOnlyHint=false, so the description must carry the behavioral load; it does add real context by disclosing that multiple layers can be flattened into one PNG per state and that two states are selectable. It still omits whether existing bindings are overwritten, whether files are written to disk, or what happens in the verify and inventory modes, which matters for a 16-parameter mutation tool.

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

Conciseness3/5

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

It is a single compact sentence with no filler, and the primary action is front-loaded. The semicolon-joined clauses mix purpose, state selection, and compositing without ordering them against the mode enum, so the compactness comes partly at the cost of parseability.

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

Completeness2/5

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

For a 16-parameter, four-mode mutating tool with no output schema and no schema descriptions, the definition covers only the binding and compositing aspects. An agent still cannot determine what inventory or verify return, what import_flbx does, or what most of the parameters mean, so it is not sufficient to call the tool confidently outside the bind_existing path.

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

Parameters2/5

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

Schema description coverage is 0% across 16 parameters, so the description must compensate and largely does not: only state_indices (implicitly, 'two states') and layer_mode (implicitly, 'composite') receive any semantic color. Key parameters such as project, factory_path, targets, library, runtime, dest, and the three sha256 fields are left entirely unexplained.

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

Purpose3/5

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

The description names a concrete action and resource: binding existing image groups or FLBX to in-place switches or read-only lamps, plus two-state selection and per-state PNG compositing. However, the schema exposes four modes (inventory, verify, bind_existing, import_flbx) while the description only characterizes the binding path, and it offers nothing to distinguish this from siblings such as hmi_prepare_native_art or hmi_offline_art_pair.

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?

No explicit when-to-use, when-not-to-use, or alternative selection guidance is given, and none of the four mode values is explained. The only implicit guidance is that two-state selection 'can be explicit' and multi-layer assets may be composited, which hints at the layer_mode choice but never states when to reject versus composite.

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