Skip to main content
Glama

hmi_build_reviewed

Build native EasyBuilder Pro HMI projects from a confirmed review version, blocking generation when requirement changes invalidate the old confirmation hash.

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": {
      "review_dir": "<review_dir>",
      "confirmed_sha256": "<confirmed_sha256>",
      "dest": "<dest>"
    },
    "name": "hmi_build_reviewed"
  }
}

Input Schema

NameRequiredDescriptionDefault
destYes
review_dirYes
template_pathNo
confirmed_sha256Yes

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 declare readOnlyHint=false, so the description must carry the rest. It usefully discloses a guardrail behavior: stale confirmations are rejected when requirements change, which implies validation against confirmed_sha256. It does not say what is written to dest, whether existing output is overwritten, or what a rejection looks like.

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?

Two short clauses with the action first and the guardrail second; no wasted wording. It is terse to the point of under-specification, but nothing is redundant.

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?

A mutating, four-parameter tool with no output schema and only readOnlyHint=false cannot be adequately specified in two clauses. Missing are output location behavior, overwrite semantics, failure modes, and any parameter detail, which is a material gap for a build/generate operation.

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 description needs to compensate and does not. It gestures at review_dir/confirmed_sha256 ('confirmed review version') but says nothing about dest, template_path, hash format, or path conventions, leaving half the parameters entirely 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 concrete verb+resource: generating a native project ('生成原生工程') from a confirmed review version ('已确认的核对版本'). That is specific enough to distinguish it from assembly/compile siblings, but the term 'native project' and 'reviewed version' are left undefined, so the agent must still infer the artifact type.

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 only implied: it should be used when a confirmed review version exists. The clause about refusing stale confirmations when requirements change hints at when NOT to call, but no sibling alternative (e.g. assemble/compile tools) is named and no prerequisites for obtaining a confirmation are stated.

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