Skip to main content
Glama

hmi_verify_runtime_art

Read-only

Verifies compiled HMI runtime artwork by reading ordered image states from window-control image groups and comparing specified points plus SHA256 hashes between two images.

Instructions

从编译后窗口控件的图组索引读取有序图态,并对比指定点位和两张图的 SHA256。

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": {
      "runtime": "<runtime>",
      "runtime_sha256": "<runtime_sha256>",
      "targets": "<targets>"
    },
    "name": "hmi_verify_runtime_art"
  }
}

Input Schema

NameRequiredDescriptionDefault
runtimeYes
targetsYes
runtime_sha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds that it reads from the compiled control's image group index and performs SHA256 comparison, giving some behavioral context, but it omits what the comparison returns, any tolerance/format details, and how runtime_sha256 relates to runtime.

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 tightly-packed sentence with no wasted words, and the core action is front-loaded. It is efficient, though its density makes some references hard to parse.

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 a three-parameter verification tool with 0% schema coverage and no output schema, the description is too thin: the targets object structure, the role of runtime_sha256, and the meaning of a verification result are all left implicit. An agent could not confidently construct inputs from this 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 all three required parameters (runtime, runtime_sha256, targets), so the description must carry the load. It alludes to 'specified points' and 'two images' (relating to targets) and 'compiled' (relating to runtime), but never explains the shape of the targets object array or what runtime_sha256 must match, leaving significant gaps.

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?

States a specific verb+resource: reads ordered image states from the compiled window control image group index and compares SHA256 of specified points and two images. This is concrete enough to distinguish it as a verification/read operation, though it never names a sibling or clarifies what the 'two images' are relative to.

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?

There is no explicit when-to-use or when-not-to-use guidance and no alternative tool named (e.g., hmi_verify_graphics or hmi_inspect_runtime). The usage context is only implied by the word 'verify' in the name.

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