Skip to main content
Glama

hmi_pair_evidence

Locate controls and publish baselines from one compile, replay real page-transition evidence, or summarize same-source editor window layouts for Weintek HMI audits.

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": {
      "mode": "<mode>",
      "project": "<project>"
    },
    "name": "hmi_pair_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
destNo
modeYes
indexNo
auditsNo
windowNo
controlNo
projectYes
runtimeNo
receiptsNo
overlap_ratioNo
edge_margin_pxNo
compile_receiptNo
business_windowsNo

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 must carry the behavioral burden. It mentions 'publishing a baseline', which implies a write, but never states what gets created or overwritten, whether publishing is reversible, what permissions or compile artifacts ('compile_receipt') are needed, or what the evidence output looks like.

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 waste-free sentence with the scope ('same compile pair') front-loaded, but the four-way 'or' list is dense and unstructured, leaving the reader to re-parse it to understand the mode space that the schema actually defines.

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 13-parameter, four-mode tool with no output schema and no annotated safety profile, this one sentence is far too thin. It identifies the four modes but leaves parameter meaning, mode-specific behavior, side effects and result shape entirely unaddressed.

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?

There are 13 parameters with 0% schema description coverage, and the description explains none of them. Terms like 'control', 'window layout' and 'compile' gesture loosely at control/window/compile_receipt, but dest, index, audits, receipts, overlap_ratio, edge_margin_px, business_windows and runtime are left entirely opaque, which is a serious gap for a 13-parameter tool.

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 four distinct purposes (locate a control, publish a baseline, replay recorded page-transition evidence, summarize window-layout reports) all tied to 'the same compile pair'. That is more than a restatement of the name, but bundling four unrelated outcomes into one clause makes it hard to say precisely what the tool does at a glance, and it gives no discrimination against siblings like hmi_offline_art_pair or hmi_audit_visual_evidence.

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 'or' construction implies the four modes exist but never says when an agent should pick one mode over another, what prerequisites each requires, or when a sibling tool would be the better choice. The only routing hint is the mode enum in the schema, not the description.

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