Skip to main content
Glama

hss__CreateDecoyPortPolicy

Creates a dynamic decoy port honeypot policy on specified hosts, defining monitored ports/protocols and whitelisted IPs to detect unauthorized access.

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": {
      "host_id": "<host_id>",
      "os_type": "<os_type>",
      "policy_name": "<policy_name>",
      "ports_list": "<ports_list>",
      "project_id": "<project_id>",
      "white_ip": "<white_ip>"
    },
    "name": "hss__CreateDecoyPortPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
host_idYes主机列表
os_typeYes操作系统类型,包含如下2种。
white_ipYesip白名单
group_listNo分组列表
ports_listYes端口与协议
project_idYes**参数解释**:
policy_nameYes策略名称
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not disclose that this is a mutating, persistent operation, what permissions/scope (project_id, enterprise_project_id) are required, whether duplicate policy names are rejected, or that the tool enforces limits such as max 10 ports and 200 hosts — even though the schema hints at those caps.

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 clause is terse with zero padding and is front-loaded, but it is a label rather than a structured description — it never expands into purpose, scope, or constraints. Conciseness is fine; structure is essentially absent.

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?

This is a complex create operation: 8 parameters with 6 required, a nested ports/protocol object, array inputs, and no output schema. With no annotations and a one-line description, an agent has nothing about side effects, validation rules, or expected response, so the definition is materially incomplete for the tool's complexity.

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 the schema already documents all eight parameters, including the nested port/protocol object and the whitelist arrays. The description adds no meaning beyond the schema (e.g. no explanation of how os_type or white_ip affect honeypot behavior), so the baseline 3 applies.

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 states a specific verb+resource pair ('新增' = create, '动态端口蜜罐策略' = dynamic port honeypot policy) inside the [HSS] product tag, so an agent knows exactly what resource is being created. It does not explicitly contrast with siblings like hss__ModifyDecoyPortPolicy or hss__CreateAntiVirusPolicy, but the Create/Policy naming makes the distinction mostly inferable.

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 use this tool versus the Modify or Switch siblings, no prerequisites (e.g. host must be registered, policy name uniqueness), and no exclusions. The agent must infer all usage conditions from the name 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