Skip to main content
Glama

hmi_merge_source_modules

Merges multiple managed HMI source projects by authenticating sources, generating page/point/macro merge plans, and building a new CMTP with mapping readback.

Instructions

认证多个受管源工程,按页、点位、宏的来源生成合并方案,构建新 CMTP 并读回映射。

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>"
    },
    "name": "hmi_merge_source_modules"
  }
}

Input Schema

NameRequiredDescriptionDefault
destNo
modeYes
linksNo
sharesNo
modulesNo
redirectsNo
project_nameNo
point_changesNo
template_pathNo
expected_plan_sha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.6/5.0
Behavior2/5

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

The annotations only declare readOnlyHint=false, and the description's verbs (authenticate, plan, build) are consistent with a mutating tool, so there is no contradiction. However, it does not disclose what the build stage overwrites or creates at 'dest', why confirmed_sha256 and expected_plan_sha256 are required safety gates, or whether stages are resumable — behavior an agent needs before invoking a write operation.

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 tight sentence with no filler, and the authenticate→plan→build→read-back progression is ordered sensibly. But for a 10-parameter, four-mode tool, cramming everything into one clause costs readability; structured per-mode or per-parameter phrasing would earn the space it uses.

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?

Given four distinct modes, ten parameters, nested objects, SHA-256 confirmation gates, and no output schema, the one-sentence description is far too thin to let an agent invoke the tool correctly. The mode lifecycle and the artifact at 'dest' are the minimum missing pieces.

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 10 parameters with nested page/point objects, so the description carries the full explanatory burden. It hints at page, point and macro origins (mapping loosely to links/shares/modules) but says nothing about mode, dest, project_name, template_path, redirects, point_changes, or the two SHA-256 gate parameters, leaving most inputs unexplained.

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 names a concrete resource (multiple managed source projects) and a concrete outcome (a merged plan and a newly built CMTP with mapping read back), which is more than the name alone conveys. It does not distinguish this tool from the similar sibling hmi_merge_reviewed_modules, and the four-mode pipeline is compressed into a single undifferentiated clause, so the agent cannot tell which action the tool performs per mode.

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?

There is no statement of when to use this tool versus hmi_merge_reviewed_modules or hmi_assemble_project, and no prerequisites such as needing reviewed modules first. Most importantly, the description never explains the 'mode' enum (catalog/authenticate/plan/build) or the order in which those stages must be run, which is the core usage decision for this tool.

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