Skip to main content
Glama

hmi_find_address_uses

Read-only

Find controls, alarms, samples, and macros that directly read or write a given device, register area, and address.

Instructions

按实际设备、寄存区和地址查找控件、报警、采样与宏直接读写行。

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>",
      "device": "<device>",
      "area": "<area>",
      "address": "<address>"
    },
    "name": "hmi_find_address_uses"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYes
indexNo
deviceYes
addressYes
projectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read. The description adds useful scope information beyond the annotation by naming the four categories of objects that can be matched, which hints at what comes back. It does not describe result shape, ordering, or how partial matches behave, so transparency is moderate rather than rich.

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 that states the lookup criteria first and the matched object types second, with no filler. It is dense but every phrase contributes.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter, no-output-schema lookup tool, the description tells the agent what kinds of objects are matched but not what a result record contains or how multiple hits are presented. Adequate to invoke, but not fully complete for interpreting results.

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 description coverage is 0%, so the description has to carry the parameter burden. It clarifies the semantics of device, area, and address, notably that 'actual device' means physical rather than logical addressing, but leaves 'project' unexplained and the optional 'index' entirely undefined, and gives no format hints for the integer address.

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 gives a concrete verb (find/lookup) and enumerates the specific resources searched: controls, alarms, sampling points, and macro direct-read/write rows. The lookup key (device, register area, address) is stated, so an agent can distinguish this from project- or layout-level siblings without opening the schema.

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?

Enumerating the four target object types implies the use case (cross-referencing where an address is used), but there is no explicit statement of when this is preferred over siblings such as project inspection tools, and no exclusions or prerequisites are given.

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