Skip to main content
Glama

hss__AddProtectionPolicy

Creates a Host Security Service protection policy that defines protected directories, file types, OS, and protection mode for hosts.

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": {
      "operating_system": "<operating_system>",
      "policy_name": "<policy_name>",
      "project_id": "<project_id>",
      "protection_directory": "<protection_directory>",
      "protection_mode": "<protection_mode>",
      "protection_type": "<protection_type>"
    },
    "name": "hss__AddProtectionPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes**参数解释**:
deploy_modeNo是否开启动态诱饵,包含如下2种, 默认为关闭防护动态诱饵防护。
policy_nameYes策略名称
protection_modeYes防护动作,包含如下2种。
protection_typeYes防护文件类型,例如:docx,txt,avi
operating_systemYes操作系统,包含如下:
exclude_directoryNo排除目录(选填),多个目录请用英文分号隔开,最多支持填写20个排除目录
process_whitelistNo进程白名单
ai_protection_statusNo是否开启AI勒索防护,包含如下2种, 默认为关闭AI勒索防护,当前只支持Windows防护策略
protection_directoryYes防护目录,多个目录请用英文分号隔开,最多支持填写20个防护目录
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description bears the full burden of behavioral disclosure, yet it says nothing about the write semantics — no indication of required permissions, idempotency or duplicate-name behavior, whether existing policies are affected, or what a successful creation returns. For a mutating create operation this is a complete gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but shortness here reflects under-specification rather than economy — a four-word label plus a bracketed product tag that carries no actionable information. Nothing is front-loaded because nothing substantive is present.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 11 parameters (6 required), no output schema, and no annotations, a bare title fragment is wholly inadequate. An agent would have to infer scope, constraints, and behavior entirely from the input schema with no framing from the description.

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 11 parameters (protection_mode, protection_type, operating_system, directory lists, process_whitelist, etc.). The description adds no meaning beyond the schema, which is the expected baseline of 3 when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is '[HSS] 添加防护策略' ('add a protection policy'), which essentially restates the tool name AddProtectionPolicy as a label rather than explaining what it does. It does not distinguish this tool from near-identical siblings such as AddPolicy, CreateClusterProtectionPolicy, or AddCceIntegrationProtection, so an agent cannot tell which protection scope (host, cluster, CCE integration) this one targets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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 among the many sibling policy-creation tools. An agent has no basis in the description for choosing this tool over AddPolicy or CreateClusterProtectionPolicy.

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