Skip to main content
Glama

hmi_read_alarm_history

Read-only

Query exported EBPro event.db alarm history offline with pagination, text filtering, and active-only options—no device connection needed. Retrieve alarm records for review and analysis.

Instructions

分页查询导出的本地 EBPro event.db,不访问设备。

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": {
      "path": "<path>"
    },
    "name": "hmi_read_alarm_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
textNo
limitNo
offsetNo
active_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.2

TDQS

B3.1/5.0
Behavior3/5

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

readOnlyHint=true already establishes this is a safe read, so the description's job is lighter, and it does add the meaningful context that the data source is a local exported file rather than the device. It stops short of disclosing paging defaults, ordering of results, or what an empty or unreadable file yields.

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 short sentence that front-loads the core operation and closes with the important non-invasiveness constraint. Nothing is padded, though the terseness leaves no room for the parameter context the tool needs.

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 five-parameter tool with zero schema descriptions and no output schema, one sentence is not enough. An agent cannot know what path must point to, what text filters against, or whether active_only changes the paging behavior without guessing.

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?

Five parameters with 0% schema description coverage, and the description accounts for none of them beyond implying paging via "分页". The meaning of text, active_only, and especially path (the required parameter pointing at the event.db) is left entirely undefined in both schema and prose.

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 specific verb+resource: a paginated query over an exported local EBPro event.db, plus the scope qualifier that it does not touch the device. That distinguishes it from siblings that inspect runtime or a project, though it never names an alternative by name.

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?

"不访问设备" implies the condition for choosing this tool (working from an exported database rather than a live connection), but the guidance is implicit. There is no explicit when-not, no prerequisite for producing the event.db export, and no routing to a live-device alternative.

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