Skip to main content
Glama

hss__ListHostStatus

Lists cloud servers protected by HSS and returns host security status, with filters for host, agent, protection, vulnerability, baseline, and intrusion details.

Instructions

[HSS] 查询云服务器列表

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_id": "<project_id>"
    },
    "name": "hss__ListHostStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo资产标签
limitNo每页显示数量
offsetNo偏移量:指定返回记录的开始位置
vpc_idNovpc id
has_vulNo存在漏洞风险
host_idNo服务器ID
ip_addrNo公网或私网IP
os_typeNo操作系统类型,包含如下2种。
refreshNo是否强制从ECS同步主机
versionNo主机开通的版本,包含如下7种输入。
group_idNo服务器组ID
sort_dirNo排序的顺序
sort_keyNo排序字段,只支持risk_num
host_nameNo服务器名称
inclusterNo是否集群内节点
public_ipNo服务器公网IP
cluster_idNo集群ID
group_nameNo服务器组名称
private_ipNo服务器私有IP
project_idYes项目ID
asset_valueNo资产重要性,包含如下4种
binding_keyNo是否绑定DEW密钥
host_statusNo主机状态,包含如下4种。
agent_statusNoAgent的状态分为两类:
has_baselineNo存在基线风险
install_modeNo是否安装模式场景
outside_hostNo是否华为云主机
server_groupNo资产服务器组
above_versionNo是否返回比当前版本高的所有版本
charging_modeNo收费模式,包含如下2种。
detect_resultNo检测结果,包含如下4种。
has_intrusionNo存在告警事件
protect_statusNo防护状态,包含如下2种。
policy_group_idNo策略组ID
agent_upgradableNoagent是否可升级
policy_group_nameNo策略组名称
protect_interruptNo是否防护中断
protect_degradationNo是否防护降级
enterprise_project_idNo主机所属的企业项目ID。0
get_common_login_locationsNo是否获取主机常用登录地信息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it only implies a read via "查询". It says nothing about permissions, pagination defaults, the cost of forcing an ECS sync with refresh, or how project_id scoping affects results — all behaviorally significant for a 40-parameter query.

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?

The single line is front-loaded and free of waste, but for a tool with 40 parameters it is under-specified rather than genuinely concise. There is no structure to help an agent prioritize the common filters.

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?

With 40 parameters, no annotations, and no output schema, the definition does far too little to prepare an agent to call it correctly. Key decision points — pagination behavior, the effect of refresh, project scoping — are left entirely to the schema and guesswork.

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%, so all 40 parameters including label, has_vul, refresh, and host_status are documented in the schema itself. The description adds no meaning beyond it, which is the baseline expectation when the schema is complete.

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?

"查询云服务器列表" gives a recognizable verb+resource (list cloud servers), but it undersells the scope: the schema shows dozens of risk/protection/agent filters that make this far more than a plain host list. It also offers no hint of how it differs from siblings such as ListAntiVirusHost or ListHostVuls, which also list hosts under a specific lens.

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 when-to-use, when-not-to-use, or alternative-tool guidance at all. An agent cannot tell from the description whether this is the general inventory endpoint or a specialized view, and must infer that from the parameter set alone.

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