Skip to main content
Glama

hss__SwitchDecoyPortHostPolicy

Switch a host's dynamic decoy-port honeypot policy to a specified policy, enabling you to apply or change deception settings across one or more servers.

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>",
      "policy_id": "<policy_id>",
      "project_id": "<project_id>"
    },
    "name": "hss__SwitchDecoyPortHostPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
host_idYes服务器ID,可填多个,通过,分隔
policy_idYes策略ID
project_idYes**参数解释**:
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden for a mutation operation, yet it says nothing about the effect of switching, whether the change is reversible, what permissions are required, or what happens to hosts already bound to a policy. 'Switch' alone is insufficient behavioral disclosure.

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 phrase with no filler and the verb/resource front-loaded. It is efficient, though its brevity stems from missing content rather than disciplined editing.

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 3-required-parameter mutation tool with no annotations and no output schema, the definition only names the action and target. It omits the direction of the switch, side effects on bound hosts, and any authorization context, leaving the agent under-informed.

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% (host_id, policy_id, project_id, enterprise_project_id each documented), so the baseline of 3 applies. The description adds no meaning beyond the schema—e.g., it does not clarify that host_id accepts a comma-separated list even though the schema does.

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 pairs a specific verb (切换/switch) with a specific resource (主机动态端口蜜罐策略/host dynamic port honeypot policy), so the agent can distinguish this from Create/Delete/Modify policy siblings. It does not explain what 'switch' actually toggles (enable vs. disable vs. bind/unbind), but the resource scope is unambiguous.

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 prerequisites, and no mention of alternatives such as ModifyDecoyPortPolicy. The agent must infer that this is the enable/disable toggle for assigning a decoy-port policy to hosts.

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