Skip to main content
Glama

hmi_prepare_review

Generate a pixel-accurate HTML preview and verification fingerprint for HMI layouts, and export a review checklist only when the Excel option is enabled.

Instructions

生成同像素 HTML 预览和核对指纹;仅 excel=true 时导出核对表。

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

Input Schema

NameRequiredDescriptionDefault
destYes
excelNo
requestNo
request_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.8/5.0
Behavior3/5

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

readOnlyHint=false is the only structured signal, so the description carries most of the burden and does add real value by disclosing the produced artifacts and the conditional export behavior. It stops short of saying where outputs land relative to dest, whether existing files are overwritten, or how the fingerprint is used downstream.

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 front-loaded sentence using a semicolon to separate the core action from the conditional export, with no filler. It is efficient, though the terseness partly reflects under-specification rather than discipline.

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 tool with a nested object, no output schema, and near-zero annotation coverage, the description is thin. It covers the headline behavior and the excel switch but omits input contract details and the return-value shape that an output schema would otherwise supply.

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 must compensate and it does not. It explains only excel via the conditional-export clause; dest, request, and especially the nested request object and request_path receive no explanation of expected values or relationships.

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 Chinese description names concrete artifacts: it generates an HTML preview with pixel-parity plus a verification fingerprint, and conditionally exports a checklist. That is more specific than a restatement of the name, but it never says what is being reviewed (a project? a set of pages?) or how it differs from siblings such as hmi_compile_and_preview or hmi_engineering_review.

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 only guidance is a parameter condition (export checklist only when excel=true), which describes behavior rather than when to choose this tool. There is no indication of prerequisites, no mention of when a caller should prefer this over the many review/compile/preview siblings, and no exclusion criteria.

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