Skip to main content
Glama

hmi_audit_engineering_files

Run read-only pre-checks on engineering files: inspect directories, CMTP/EMTP headers or byte diffs, tables, and SQLite integrity with samples. Outputs a new JSON report for safe review before edits.

Instructions

只读预检:目录、CMTP/EMTP 原始头部或字节差、目录文本、CSV/XLS/XLSX、SQLite 完整性与样例。dest 为新 JSON 文件。

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_audit_engineering_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
destNo
modeYes
pathYes
limitNo
otherNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.7/5.0
Behavior2/5

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

Annotations provide only readOnlyHint=false, so the description carries nearly the full disclosure burden, and it labels itself 'read-only' (只读) while the annotation says the operation is not read-only. The dest clause ('new JSON file') partially resolves this by implying output is written to a fresh file, but the definition never says whether dest is overwritten, whether a path must exist, or what the pre-check returns; the only real content added is that source inspection is non-mutating.

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 two short sentences with no filler, and the output-destination note is placed last where it belongs. However, the first sentence is a dense comma-separated artifact list rather than a structured statement of purpose, so brevity comes at the cost of parseability.

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

Completeness5/5

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

There is no output schema, five parameters at 0% schema coverage, and only a single annotation (readOnlyHint=false), so this tool's description is incomplete for its complexity. An agent cannot tell which artifact each mode targets, what limit and other are for, or what the produced JSON contains, and the read-only claim conflicts with the annotation, which leaves the mutation profile unclear.

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 five parameters, and the description only clarifies one of them: dest is a new JSON file. The six-value mode enum and the path, limit, and other parameters get no explanation, and the listed artifacts (headers, byte diff, tables, SQLite integrity) are not mapped to the mode values that presumably select them.

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 says it is a 'read-only pre-check' (只读预检) over engineering files and lists what it inspects: directories, CMTP/EMTP raw headers and byte diffs, directory text, CSV/XLS/XLSX, SQLite integrity and samples. That is more specific than a bare restatement of the name, but it reads as a telegraphic keyword list rather than a clear statement of one job, and it gives no signal distinguishing it from siblings such as hmi_project_files, hmi_engineering_data, or hmi_inspect_project.

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 only usage-like guidance is that 'dest 为新 JSON 文件' (dest is the new JSON file), which concerns output, not when to call the tool. There is no statement of prerequisites, when to choose this over sibling audit/inspect tools, or which of the six modes (scan/binary/diff/tree/tables/db) should be used for which situation.

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