Skip to main content
Glama

hmi_record_transaction

Builds and safely applies guarded, SHA-verified edits to HMI address, string, text, palette, and navigation records, with candidate lookup and plan/apply validation.

Instructions

建原生记录模型,按源 SHA 与候选护栏修改已识别独立地址、结构化字符串、文字、调色板和跳页记录。

Input Schema

NameRequiredDescriptionDefault
destNo
kindNo
modeYes
termNo
indexNo
limitNo
offsetNo
projectYes
operationsNo
expected_sha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.6/5.0
Behavior3/5

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

The description adds useful behavioral context beyond readOnlyHint=false: changes are governed by a source SHA and candidate guardrails, which signals guarded or optimistic-concurrency mutations. However, it does not disclose that plan may be non-mutating while apply writes to dest, nor what is destroyed or how failures are handled.

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?

It is a single dense sentence with little wasted wording, but it is not structured for a complex four-mode tool; mode-specific behavior is compressed into ambiguous jargon. Front-loading the model-building clause is reasonable, but the sentence does not adequately guide an agent through the branches.

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?

For a mutation tool with four modes, ten parameters, conditional required fields, and no output schema, the description is far too thin. It omits the plan/apply workflow, destination semantics, candidates retrieval, and operation constraints, leaving critical invocation decisions to the schema.

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?

With 0% schema description coverage across ten parameters, the description only loosely maps to expected_sha256 ('源 SHA'), guard/candidate concepts, and the operation kinds (address, string, text, palette, navigation). It says nothing about mode, project, dest, index, limit, offset, term, or the operations structure, so most parameter meaning remains undisclosed.

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 names a specific domain object ('原生记录模型', independent addresses, strings, texts, palettes, navigation records) and says it modifies them, but it bundles model construction and transaction edits without naming the four modes or differentiating the tool from siblings such as hmi_native_record_profile. An agent gets the domain area but not a precise operation boundary.

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?

No when-to-use guidance is given, no explanation of how to choose between model, candidates, plan, and apply modes, and no mention of preceding or alternative sibling tools. The only implicit signal is that the tool is used for record model construction and modification.

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