Skip to main content
Glama

hmi_revise_request

Merge change-request packages by discipline, applying each owner’s path/before/value edits and outputting a new reconciled HMI project version for review.

Instructions

按专业合并变更单,包内给 owner、changes,每行给 path、before、value;输出新核对版本。

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": {
      "request_path": "<request_path>",
      "packages": "<packages>",
      "dest": "<dest>"
    },
    "name": "hmi_revise_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
destYes
packagesYes
request_pathYes
expected_request_sha256No

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?

The readOnlyHint=false annotation already signals a mutation; the description adds only that a new reconciled version is output. It does not say what happens to existing content at the destination, whether the merge overwrites or appends, how conflicts between packages are resolved, or that expected_request_sha256 acts as a concurrency/staleness guard — a critical behavior for a write 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 dense sentence using semicolons to separate purpose, package shape, and output — no filler. It is front-loaded with the purpose, though the terse telegraphic style makes the parameter mapping slightly harder to parse than it needs to be.

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 mutating four-parameter tool with no output schema, no property descriptions, and only a readOnlyHint=false annotation, this is under-specified. The agent lacks conflict-resolution semantics, the meaning of dest, and the role of the sha256 guard, any of which could cause a wrong or destructive call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the packages array items are declared as bare objects, so the description is the only place that discloses the nested shape: each package carries owner and changes, each row carries path, before, value. That is genuine added meaning. However request_path, dest, and especially expected_request_sha256 receive no explanation, and it is unclear whether dest is a file path or a directory.

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 names a specific verb+resource pair: merge change requests grouped by discipline ('按专业合并变更单') and produce a new reconciled version. An agent can tell this is a batch merge operation rather than an inspection or export. It stops short of distinguishing itself from plausible sibling tools like hmi_edit_page_objects or hmi_engineering_pipeline.

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?

There is no guidance on when to use this versus alternatives, no prerequisites, and no stated conditions or exclusions. The agent must infer usage purely from the verb 'merge'.

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