Skip to main content
Glama

hmi_export_project_records

Exports assembled HMI project macro text, control labels, point references, and configuration to plain text and JSON for review, traceability, and handoff.

Instructions

导出已组装工程的宏正文、控件文字、点位引用和配置为文本与 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": {
      "project": "<project>",
      "dest": "<dest>"
    },
    "name": "hmi_export_project_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
destYes
indexNo
projectYes

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 only declare readOnlyHint=false, so the agent learns nothing about side effects, permissions, or overwrite behavior from them. The description calls this an 'export' but never says that it writes output files to a destination, whether existing files are overwritten, or whether the operation is idempotent — gaps that matter for a non-read-only tool.

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 front-loaded sentence with the resource list and output formats packed in, no filler or repetition. It is terse rather than padded, though the terseness is achieved partly by omitting required information.

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?

Three parameters at 0% schema coverage, a non-read-only annotation, and no output schema mean the description should explain destinations, index semantics, and write side effects — none of which it does. For an export-and-write tool of this shape, the definition is under-specified.

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 carry the burden and does not: 'project' is only loosely implied by '已组装工程', while 'dest' and 'index' are never mentioned at all. An agent cannot tell from the definition that dest is a required output location or what index selects.

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 sentence names a concrete verb (export) and enumerates the exported resource set: macro bodies, control text, point/tag references, and configuration, plus the output formats (text and JSON). That is specific enough to distinguish it from hmi_export_as_built, hmi_export_engineer_form, and hmi_export_lineage, though it never explicitly says which sibling to prefer.

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 qualifier '已组装工程' (already-assembled project) implies a precondition that the project must have been assembled first, which is useful. But there is no statement of when to choose this export over the other export tools, no exclusions, and no mention of what happens with an unassembled project.

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