Skip to main content
Glama

hmi_project_files

Inspect Weintek HMI project files read-only: list directory contents, compare binary differences, extract CMTP or CXOB texts, and query exported CSV or SQLite data.

Instructions

只读检查指定工程文件:目录、二进制差异、CMTP 字符串、CXOB 文字、CSV 或导出的 SQLite。

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>",
      "path": "<path>"
    },
    "name": "hmi_project_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
pathYes
limitNo
otherNo
queryNo
tableNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.7/5.0
Behavior1/5

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

The description asserts the tool is read-only (只读), while the annotation declares readOnlyHint=false, which signals the tool may modify its environment. This is a direct conflict on exactly the trait the annotation exists to communicate. The total absence of annotations support (no safety, side-effect, or cost disclosure that reconciles the two) leaves the agent unable to trust either signal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, and the read-only claim plus the coverage list come first. The dense colon-separated enumeration is efficient but reads as a feature dump rather than a structured mapping to the mode enum.

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?

Seven parameters, zero schema coverage, no output schema, and a contradicted annotation leave substantial gaps: nothing explains pagination (limit/offset), the free-text/table targeting (query, table), or the second-path argument (other). For a multi-mode dispatcher this is too thin to invoke reliably.

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 7 parameters, so the schema supplies names and one enum but no meaning. The description explains roughly five of the seven mode values (inventory, diff, texts, csv, database) but is ambiguous about structure versus runtime-text, and says nothing at all about limit, offset, query, table, or other — the five parameters that need the most clarification.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb (read-only inspection) plus a resource (specified project files) and enumerates the content variants it covers: directory, binary diff, CMTP strings, CXOB text, CSV, exported SQLite. It is clearly not a build/compile/export tool, though it never differentiates itself by name from close siblings such as hmi_inspect_project or hmi_audit_engineering_files.

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 mode enumeration implies what each invocation is for, but there is no explicit when-to-use statement, no when-not condition, and no routing to an alternative sibling when this tool is the wrong choice. The agent must infer selection from the mode list alone.

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