Skip to main content
Glama

hmi_compile_project

Compiles a standalone copy of an HMI project in the local official editor and returns source/runtime fingerprints plus warnings, so you can verify build outputs before delivery.

Instructions

在本机官方编辑器内编译独立副本,返回源文件与运行包指纹及警告。

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": {
      "project": "<project>",
      "dest": "<dest>"
    },
    "name": "hmi_compile_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
destYes
projectYes
executable_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

B3.1/5.0
Behavior3/5

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

The description adds real context beyond the readOnlyHint=false annotation: work happens in a local official editor, the output is an independent copy, and the result reports fingerprints plus warnings. It does not disclose whether an existing destination is overwritten, whether the editor must be closed or licensed, or what state is left behind on failure. Given only one annotation, the burden is still largely on the description and these gaps matter for a write-like operation.

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?

A single compact sentence with the action, environment, and outputs front-loaded and no filler. It is efficient, though its density means the unexplained parameters never get addressed.

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 three-parameter, partially required mutation-style tool with no output schema and 0% schema coverage, the definition is thin. It names the returned artifacts but leaves executable_path, dest semantics, overwrite behavior, and failure handling undocumented, which is not enough for an agent to call it confidently.

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% for all three parameters, so the description must compensate. It only indirectly hints that 'project' is the source and 'dest' is the independent copy target; 'executable_path' is never mentioned, and its purpose (presumably the official editor binary) is entirely unstated. There is also no indication of whether dest must be empty or new.

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?

The description gives a concrete verb and object (compile an independent copy) plus the execution context ('in the local official editor') and the return content (source and runtime-package fingerprints, warnings). This is clearly distinct from a pure inspect or audit tool. It stops short of naming which sibling to use instead, e.g. hmi_compile_and_preview, so the differentiation is only implicit.

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?

Usage is implied rather than stated: 'local official editor' signals that this tool requires a local editor installation, and 'independent copy' signals that the original project is left untouched. There is no explicit when-to-use/when-not guidance and no pointer to hmi_compile_and_preview or hmi_compile_and_preview-style alternatives for preview workflows.

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