Skip to main content
Glama

hmi_offline_simulation

Launch a standalone official offline simulation, capture its window, and optionally compare two existing images without connecting to a device.

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": {
      "runtime": "<runtime>",
      "dest": "<dest>"
    },
    "name": "hmi_offline_simulation"
  }
}

Input Schema

NameRequiredDescriptionDefault
destYes
runtimeYes
compare_imagesNo
executable_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.8/5.0
Behavior3/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 rest; it does add useful context that the simulation is standalone/official, that a window is captured, and that no device connection is required. However, it omits what the launch produces, whether a process is left running, how window capture behaves on failure, and why the image-comparison path is bundled with a process launch.

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?

The text is short with no filler, but the single semicolon-joined sentence splices two unrelated operations together, so compression comes at the cost of a clear mode split. Front-loading is reasonable, yet the agent gains no structure for deciding between the simulation and comparison paths.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with two required parameters, two optional ones, no output schema, and only a single annotation, the definition is far too thin: it never says what runtime and dest must contain, nor how supplying compare_images changes execution. Given the complexity of process launching plus window capture, an agent cannot call this correctly from the description 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 4 parameters, so the description must compensate, and it does not. Only compare_images is hinted at (比较两张现有图片), while runtime, dest, and executable_path — including both required parameters — receive no explanation of expected format or role.

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 two distinct capabilities — launching a standalone official offline simulation with window capture, and comparing two existing images — but does not state that these are alternative modes or explain how they relate. A specific verb+resource is present (启动/离线仿真), yet the dual purpose leaves the agent unsure which behavior applies to a given call, and no sibling such as hmi_offline_art_pair or hmi_offline_interaction is distinguished.

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 phrase 不连接设备 (does not connect to a device) is the only guidance, functioning as a constraint rather than a when-to-use rule. There is no statement of when to pick this tool over hmi_compare_screenshots or the other offline siblings, and no prerequisites or exclusions beyond the no-device note.

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