Skip to main content
Glama

hss__ListRaspEvents

Queries application protection (RASP) events for a host within a time range, returning alert severity, server name, attack source IP/URL, and event details for security investigation.

Instructions

[HSS] 查询应用防护事件列表:展示防护事件相关信息,包含告警级别、服务器名称、告警名称、告警时间、攻击源ip、攻击源url数据

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": {
      "end_time": "<end_time>",
      "enterprise_project_id": "<enterprise_project_id>",
      "host_id": "<host_id>",
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>",
      "start_time": "<start_time>"
    },
    "name": "hss__ListRaspEvents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes默认10
offsetYes默认0
host_idYesHost Id
app_typeNo应用类型,包含如下1种。java
end_timeYes查询时间段的终止时间,毫秒级时间戳(ms)
severityNo告警级别 |- 告警级别,包含如下1种。 - 0 :Info级别告警 - 1 :Low级别告警 - 2 :Medium级别告警 - 3 :High级别告警 - 4 :Critical级别告警
attack_tagNo攻击标识 |- 攻击标识,包含如下6种。 - 1 :Attack Success 攻击成功 - 2 :Attack Attempt 攻击尝试 - 3 :Attack Blocked 攻击被阻断 - 4 :Abnormal Behavior 异常行为 - 5 :Collapsible Host 主机失陷 - 6 :System Vulnerability 系统脆弱性
project_idYes项目ID
start_timeYes查询时间段的起始时间,毫秒级时间戳(ms)
protect_statusNo防护状态,包含如下2种。
enterprise_project_idYes企业项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden; it does at least disclose what the response contains, which matters because there is no output schema. It says nothing about pagination limits, ordering, permissions, or what an empty result looks like for a filter-heavy read tool with 11 parameters.

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 clause states the verb and resource, followed by a compact enumeration of returned fields; there is no filler or repetition. The trailing field list is slightly dense but every item carries information given the absence of an output schema.

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?

With 11 parameters, 7 required, and no output schema, the description covers the output shape but leaves the caller without guidance on time-range semantics, pagination behavior, or how host_id/enterprise_project_id scope the query. Adequate to identify the tool, not adequate to call it confidently in edge cases.

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 100%, including enum value semantics for severity, attack_tag, and protect_status, so the schema does the heavy lifting and baseline 3 applies. The description's field list describes return values rather than the filter parameters (host_id, time window, enterprise_project_id) and therefore adds no input-side meaning.

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 and resource ("查询应用防护事件列表") and enumerates the fields surfaced (severity, server name, alert name, time, source IP, source URL). That is far clearer than a tautology, but it never distinguishes this list from siblings such as hss__ListClusterEvents or hss__ListSecurityEvents, so an agent must infer the split from the tool name alone.

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 choose this tool over the many other event-listing siblings, and no statement of preconditions such as needing host_id plus a time window. The only usage signal is implicit in the required parameters, which the description never discusses.

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

Deploy Server

Other Tools