Skip to main content
Glama

hmi_offline_interaction

Tests switch, navigation, numeric, and sampling interactions in an offline HMI runtime, then verifies results against the run receipt.

Instructions

在独立官方离线运行包测试切换、换页、数值或采样;按本次回执判定。

Input Schema

NameRequiredDescriptionDefault
destYes
modeYes
casesNo
routeNo
targetNo
runtimeYes
samplingNo
originalsNo
linked_rectsNo
expected_textsNo
readback_rectsNo
settle_secondsNo
executable_pathNo
expected_runtime_sha256Yes

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?

readOnlyHint=false already signals a non-read operation, and the description adds nothing about what gets written, where 'dest' artifacts land, or that an executable may be launched via executable_path. It also omits the integrity gate implied by expected_runtime_sha256 and any failure/rollback behavior, all of which matter for a tool with side effects.

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 filler, and the most important scope information is front-loaded. The brevity is achieved through omission rather than precision, so the density costs clarity rather than earning it.

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 14-parameter tool with nested objects, a conditional allOf requirement, no output schema and only a single annotation, the description is far too thin. An agent cannot know what modes require which inputs, what the receipt contains, or how to interpret success and failure.

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?

With 14 parameters and 0% schema description coverage, the description carries the full explanatory burden but only echoes the four mode values. Key inputs — runtime, expected_runtime_sha256, dest, target, expected_texts, settle_seconds, route, readback_rects — and the conditional requirement that switch/numeric modes need target and expected_texts are entirely 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 concrete activity — testing switch, navigate, numeric and sampling behaviors against a standalone offline runtime package — which maps to the mode enum, so the general purpose is inferable. However, it never states what the tool produces or how it differs from adjacent siblings such as hmi_offline_simulation or hmi_offline_art_pair, leaving the agent to guess at the boundary.

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 guidance, no prerequisites (an existing offline runtime package, a matching SHA-256 digest), and no named alternative for related verification tasks. The clause '按本次回执判定' hints that results are judged from this run's receipt but does not tell the agent when this tool is the right choice.

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