Skip to main content
Glama

hss__ModifyDecoyPortPolicy

Update dynamic port honeypot policies by changing assigned hosts, decoy ports and protocols, whitelisted IPs, and policy details for Huawei Cloud HSS.

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_id": "<policy_id>",
      "policy_name": "<policy_name>",
      "ports_list": "<ports_list>",
      "project_id": "<project_id>",
      "white_ip": "<white_ip>"
    },
    "name": "hss__ModifyDecoyPortPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
host_idYes主机列表
os_typeYes操作系统类型,包含如下2种。
white_ipYesip白名单
policy_idYes策略ID
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.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 behavioral burden and discloses essentially nothing. With 7 required parameters including the full ports_list, it is unclear whether this is a full replacement (PUT-style) or a partial patch, whether omitted fields are reset, whether permission on host_id hosts is required, or whether the change is reversible — all critical for a mutation of security policy.

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 text is a single short phrase with no wasted words and is trivially front-loaded, but it is under-specified rather than concise. The '[HSS]' prefix consumes space without informing the agent.

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 mutation tool with 9 parameters, 7 required, nested objects, no annotations, and no output schema, a one-phrase description is far from sufficient. The agent has no information about the effect of the call, the expected result, or how a failed edit manifests.

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 every parameter already carries its own description and the baseline of 3 applies. The description adds no meaning beyond the schema — it does not clarify the semantics of the required ports_list replacement, the os_type enum, or the role of project_id/enterprise_project_id paths.

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?

The description is a near-literal translation of the tool name: '编辑' (edit) plus '动态端口蜜罐策略' (dynamic port honeypot policy). It does name a verb and a resource, so the agent can tell it apart from Create/Delete/List siblings, but it never says which aspects of the policy are editable or what an edit produces.

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 guidance, no precondition, and no mention of the obvious alternatives (CreateDecoyPortPolicy, DeleteDecoyPortPolicy, ListDecoyPortPolicy, ShowDecoyPortPolicyDetails) that appear among the siblings. The agent must infer from the verb alone that this modifies an existing policy.

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