Skip to main content
Glama

hmi_inspect_project

Read-only

Inspect HMI projects to read back CMTP data, query control bindings or page layout by window and selector, and retrieve full sections for auditing or troubleshooting.

Instructions

读回 CMTP。单个问题用 intent=binding/detail 加 window 和 selector(控件名或 group/row/role),页面结构用 intent=layout;完整清单仍用 section。

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

Input Schema

NameRequiredDescriptionDefault
indexNo
limitNo
queryNo
intentNo
offsetNo
windowNo
projectYes
sectionNo
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.6/5.0
Behavior2/5

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

The readOnlyHint=true annotation already establishes that this is a safe read. The description adds no behavior beyond that: it says nothing about output shape, pagination behavior, cost, or what happens when a selector matches nothing, even though offset/limit imply paged results. For a 9-parameter read tool that lacks an output schema, this leaves significant transparency gaps.

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 description is compact and front-loads the core verb, with the mode routing packed into a single semicolon-delimited sentence. However, that density comes at the cost of clarity: undefined jargon (CMTP) and an unpunctuated "binding/detail" pair force the reader to reverse-engineer the mapping.

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?

The tool has 9 parameters, only 1 of which is required, no output schema, and 0% schema coverage, so the description must carry nearly the entire specification. It instead leaves the required project parameter, every paging control, and the query parameter entirely undocumented, which is not sufficient for an agent to call this tool reliably beyond the narrow happy path from intent to selector.

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%, so the description must explain the meaning of all 9 parameters, but it covers only intent, window, selector, and section. The required project parameter receives no explanation at all, and index, limit, query, and offset are never mentioned. Even the covered parameters lack value-format detail, such as what a valid window string looks like or how selector interacts with the intent modes.

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?

"读回 CMTP" supplies a verb (read back) and a resource, but CMTP is an undefined acronym, so an agent that lacks prior CMTP knowledge cannot tell what is being read. It also does not differentiate this tool from siblings such as hmi_inspect_installation or hmi_inspect_runtime, even though the shared name prefix suggests overlapping territory.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives meaningful routing guidance among the tool's own modes: binding/detail for a single question, layout for page structure, section for the full inventory. However, its guidance never addresses when to choose this tool over sibling inspection tools, and it treats "single question" and "complete inventory" as self-evident categories.

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