Skip to main content
Glama

hmi_macro_lab

Compares CMTP/CXOB macro sources and simulates sequential multi-macro reads, writes, and recipes using explicit integer or boolean memory cases.

Instructions

逐个比对 CMTP/CXOB 宏源码;可在显式的整数/布尔内存用例中演算多宏顺序读写和配方。

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>",
      "runtime": "<runtime>",
      "compile_receipt": "<compile_receipt>"
    },
    "name": "hmi_macro_lab"
  }
}

Input Schema

NameRequiredDescriptionDefault
destNo
modeNo
casesNo
indexNo
macroNo
projectYes
runtimeYes
compile_receiptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

C2.4/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, meaning mutation, but the description reads as pure analysis ('compare', 'evaluate'), so the write side effect is undisclosed; the tension stops short of a direct contradiction but leaves the agent misinformed about what changes. Nothing is said about the destination parameter, generated artifacts, permissions, or side effects. With only readOnlyHint=false provided, the description should have carried this burden and does not.

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 compact sentence and wastes no wording, but the two clauses are joined by a semicolon without front-loading the primary action. Brevity here comes at the cost of under-specification rather than genuine efficiency.

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 an 8-parameter, mutating tool with an enum mode, three required inputs, a destination, and no output schema, the description covers almost none of the operational detail an agent would need. Critical omissions include where output goes, whether the project is modified, and what compile_receipt must contain. It is insufficient relative to the tool's complexity.

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 8 parameters, and the description names none of them. Only the concepts of 'memory cases' and 'macro/recipe' loosely hint at the 'cases' and 'macro' parameters. The three required parameters (project, runtime, compile_receipt) and the 'mode' enum remain completely opaque, so the description barely compensates for the schema gap.

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 action (pairwise comparison of CMTP/CXOB macro source) plus a simulation of multi-macro sequential reads/writes in explicit integer/boolean memory cases. The purpose is identifiable but muddled by combining two activities into one sentence, and it never distinguishes this from comparison siblings. The 'mode: sources|model' parameter is not explained, so the dual nature stays ambiguous.

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?

It does not say when to choose this tool over alternatives such as hmi_compare_projects or hmi_compile_project, nor what prerequisites exist. The phrase 'explicit integer/boolean memory cases' is a weak, implicit usage condition. An agent gets no explicit when-to-use or when-not-to-use guidance.

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