Skip to main content
Glama

hmi_merge_reviewed_modules

Merge reviewed modules by shared template semantics, detect definition conflicts and address overlaps, and return a new reviewed whole-project version for HMI integration.

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": {
      "modules": "<modules>",
      "project_name": "<project_name>",
      "dest": "<dest>"
    },
    "name": "hmi_merge_reviewed_modules"
  }
}

Input Schema

NameRequiredDescriptionDefault
destYes
linksNo
modulesYes
project_nameYes

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?

Annotations only supply readOnlyHint=false, so the description usefully adds that the tool validates definition conflicts and address overlaps and produces a new whole-machine reviewed version. It does not disclose what happens when a conflict or overlap is actually found (abort? report? partial merge?) or whether the input modules are modified, which matters for a confirmed mutation.

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

Conciseness5/5

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

A single dense sentence with zero filler, front-loading the action and then the checks and result. Nothing is redundant; the problem is under-specification, not verbosity.

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

Completeness3/5

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

For a four-parameter mutation with no output schema and near-empty annotations, the description is thin: it omits conflict-resolution behavior, destination semantics, and any guidance on the links array. It covers the core intent adequately but leaves operational gaps an agent would need 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% across four parameters, so the schema provides no semantics at all. The description implies modules belong to one shared master and that a new reviewed version is produced, but it never maps meaning onto modules, project_name, dest, or links, leaving three required parameters effectively undocumented.

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 specific verb (按语义合并 / semantically merge), a specific resource (同母版已核对模块 / reviewed modules of the same master), and adds the checks performed (定义冲突、地址重叠) plus the output (新的整机核对版). This is far more than a restated name, though it never explicitly distinguishes itself from the near-identically named sibling hmi_merge_source_modules.

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?

The description says what the tool does but gives no when-to-use/when-not guidance. Given a sibling literally called hmi_merge_source_modules, the absence of any routing cue between 'reviewed' and 'source' merging leaves the agent to infer the choice.

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