Skip to main content
Glama

hmi_offline_art_pair

Compares off/on/off pixel output and adjacent regions for two switches in one offline process, helping verify HMI toggle rendering before delivery.

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": {
      "handoff": "<handoff>",
      "compile_receipt": "<compile_receipt>",
      "dest": "<dest>",
      "background": "<background>",
      "fit": "<fit>"
    },
    "name": "hmi_offline_art_pair"
  }
}

Input Schema

NameRequiredDescriptionDefault
fitYes
destYes
handoffYes
backgroundYes
input_methodNo
compile_receiptYes
executable_pathNo
saved_observationNo
observation_sha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false; the description says 'compare' and never discloses that the tool may write to dest, what side effects occur, what handoff/compile_receipt requirements exist, or what the result contains. It adds a little context about pixel/neighbor comparison but leaves the mutation profile opaque.

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 sentence with no wasted words, but it is under-specified for a nine-parameter tool; brevity comes at the cost of missing essential information. The one sentence is not front-loaded with enough structure to guide invocation.

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?

With nine parameters, 0% schema description coverage, no output schema, and only a non-read-only annotation, the definition is far too thin. An agent lacks parameter meanings, output expectations, side effects, and selection guidance.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for nine parameters, including five required ones and two enums. The description does not explain handoff, compile_receipt, dest, background, fit, or any optional parameter, and only vaguely refers to two switches, so it does not compensate for the missing schema documentation.

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 compare operation on actual pixels and neighbor regions for two switches in one offline process, which is more specific than a bare name. However, '两个开关' is not reflected in the nine-parameter schema, and no sibling such as hmi_pair_evidence or hmi_compare_screenshots is distinguished, so an agent cannot confidently route between them.

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 when-to-use or when-not-to-use guidance, no prerequisites, and no named alternative. '在同一离线进程中' gives context but not selection criteria.

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