Skip to main content
Glama

hmi_export_as_built

Generates as-built documentation from finished HMI projects, optionally attaching requirement traceability, paired runtime packages, and categorized Excel exports.

Instructions

从成品生成竣工资料;可附需求行追溯、配对运行包和分类 Excel。

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>",
      "dest": "<dest>"
    },
    "name": "hmi_export_as_built"
  }
}

Input Schema

NameRequiredDescriptionDefault
destYes
excelNo
indexNo
layoutNo
projectYes
runtimeNo
request_pathNo
template_pathNo
compile_receiptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.9/5.0
Behavior2/5

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

Annotations supply only readOnlyHint=false, so behavior disclosure rests entirely on this one sentence. It does not say what gets written to dest, whether the destination directory must exist or is cleared, whether existing documents are overwritten, or what the caller gets back. For a 9-parameter mutation/generation tool this is a significant gap.

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?

A single compact sentence with the main action front-loaded before the optional capabilities, with no redundant restatement of the title. The brevity is only a flaw because so much is left unsaid, not because any sentence is wasted.

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?

With 9 undocumented parameters, no output schema, and only a readOnlyHint annotation, the definition is far too thin for the tool's complexity. An agent learns roughly what artifact is produced but not how to populate most arguments or what side effects to expect on disk.

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 9 parameters, so the description must compensate and largely fails. The optional clauses vaguely gesture at request_path (需求行追溯), runtime (配对运行包), and excel/layout (分类 Excel), but both required parameters project and dest plus index, template_path, and compile_receipt get no explanation of format, editability, or expected values.

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?

States a specific verb and resource: generate as-built/completion documentation (竣工资料) from a finished product, which is narrower than the name alone and distinguishes it from plain export siblings like hmi_export_project_records. It never names a sibling or explains how it differs from hmi_delivery_bundle or hmi_export_lineage, which is the only reason it is not a 5.

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 phrase 'from a finished product' implies the triggering condition (a completed build exists), and the optional clauses hint at when to add traceability or a runtime package. There is no explicit when-not guidance, no named alternative, and no stated prerequisite that the project must already be compiled.

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