Skip to main content
Glama

hmi_engineering_review

Review HMI references, PLC source, and license contracts against displayed or stopped-parameter values, and query checklist rows by actual worksheet line number.

Instructions

按源对象演算只读数显或核对停机参数的 HMI 引用、PLC 静态源码和许可契约;按真实工作表行号查询核对表。

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_engineering_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
biasNo
modeYes
pathNo
indexNo
limitNo
scaleNo
sheetNo
equalsNo
offsetNo
windowNo
controlNo
projectNo
samplesNo
containsNo
contractNo
plc_projectNo
expected_sha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.2/5.0
Behavior2/5

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

The single annotation is readOnlyHint=false, yet the description's language ('演算', '查询', '只读数显') reads like a read/analysis operation, leaving the agent unsure whether anything is written or mutated. No side effects, permission requirements, safety of the referenced artifacts (PLC source, license contracts), or pagination/limit behavior is disclosed despite the tool accepting a 17-parameter surface including 'limit', 'offset', and 'expected_sha256'.

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

Conciseness2/5

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

It is a single semicolon-joined sentence of compressed domain jargon with no front-loaded statement of what the tool is or which mode to pick. Length is short, but the density makes it under-specified rather than concise — the reader must parse twice and still lacks the essential framing.

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

Completeness1/5

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

Against a 17-parameter, three-mode, nested-object tool with no output schema and only a bare readOnlyHint=false, the description supplies almost none of the framing an agent needs to invoke it correctly — no mode semantics, no parameter meanings, no return-value expectations, no write/read clarification.

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 17 parameters, so the description must carry the burden and largely fails: it only hints at 'sheet'/'index' via '按真实工作表行号' and obliquely touches the three mode values. Parameters such as bias, scale, window, control, samples, contains, equals, contract, plc_project, and expected_sha256 get no meaning at all, and no parameter is named explicitly.

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 description names concrete resources — HMI references, PLC static source, license contracts, and verification workbooks — and implies a compute/verify verb ('演算', '核对', '查询'). However, the phrasing is dense jargon and never says plainly what the tool returns or how the three modes ('只读数显', '停机参数', '核对表') relate to one another, so an agent can only guess at the actual capability from the name plus a partial gloss.

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?

No condition for choosing this tool over any sibling is given; hmi_prepare_review, hmi_audit_engineering_files, and hmi_engineering_data all sound adjacent and the description does not route between them. The only implicit guidance is the mapping of the three described tasks onto the mode enum, and even that requires the agent to reverse-engineer it.

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