Skip to main content
Glama

hmi_machine_checks

Validates HMI pages and controls on a CMTP/CXOB runtime, including word-lamp 0/1/2/0 display checks, page switching, switches, and values; resumes from an existing compile receipt.

Instructions

在同一 CMTP/CXOB 上按页名和功能名验收;word-lamp 指定 control 和 driver_control 验证 0/1/2/0 原生字灯显示。也支持换页、开关和数值,既有同包回执可续跑。

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>",
      "request_path": "<request_path>",
      "project": "<project>",
      "runtime": "<runtime>",
      "compile_receipt": "<compile_receipt>"
    },
    "name": "hmi_machine_checks"
  }
}

Input Schema

NameRequiredDescriptionDefault
destNo
jobsNo
modeYes
priorNo
viewerNo
projectYes
runtimeYes
prior_sha256No
request_pathYes
template_pathNo
compile_receiptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.4/5.0
Behavior2/5

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

Annotations supply only readOnlyHint=false, so the description carries nearly the full burden. It discloses the verification pattern (0/1/2/0) and resumability from a prior receipt, but says nothing about whether it drives a live runtime, what state it changes, what happens on failure mid-run, or what the plan vs run distinction does in practice.

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 compact sentence with no wasted preamble, which is good, but the clauses are stacked with semicolons and shifting topics (acceptance, word-lamp, page switching, resume) rather than being structured by task or prerequisite. Effort is spent on domain nouns instead of decision-relevant facts.

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?

For an 11-parameter, 5-required, non-read-only tool with no output schema and only a single annotation, the description is far too thin: it explains neither the plan/run mode contract nor the receipt chaining. An agent could not confidently fill the required compile_receipt, project, and runtime fields from this text alone.

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 11 parameters, so the description must compensate and largely fails to. The terms it uses (page name, function name, control, driver_control) do not map by name to any schema property, and mode, project, runtime, compile_receipt, request_path, prior, prior_sha256, dest, viewer, template_path and jobs are all left unexplained.

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 a specific verb (验收/acceptance-check) and scope (word-lamp 0/1/2/0 display, page switching, switches, numeric values on CMTP/CXOB), so the domain action is discernible. However, the phrasing is dense domain jargon that does not clearly separate this from siblings like hmi_cold_acceptance or hmi_inspect_runtime, and the added 'also supports page switching, switches and values' broadens rather than sharpens scope.

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?

Only an implied precondition is given ('on the same CMTP/CXOB') plus a resume note ('an existing same-package receipt can continue the run'). There is no explicit when-to-use/when-not, no statement of what must happen before (compile, request path), and no alternative sibling named for the non-word-lamp cases.

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