Skip to main content
Glama

hss__ChangeIsolatedFile

Restores files isolated by Huawei Cloud Host Security Service (HSS) using host ID, file path, hash, and attributes so quarantined files can be returned to their original locations.

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__ChangeIsolatedFile"
  }
}

Input Schema

NameRequiredDescriptionDefault
data_listNo需要恢复的文件列表
project_idYes项目ID
enterprise_project_idNo主机所属的企业项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/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, yet it discloses nothing beyond a two-word mutation label. It does not say whether restoration is reversible, what permissions or project-state preconditions apply, how partial failures in a batch are handled, or that the list accepts up to 100 entries.

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 phrase is technically concise and front-loaded, but its brevity reflects under-specification rather than economy of expression. There is no structure to speak of and no information an agent could act on beyond the tool name.

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?

This is a state-changing batch mutation with a nested-array parameter, no annotations, and no output schema; the description would need to explain preconditions, batch limits, and failure behavior. Instead it offers one short label, leaving nearly all decision-relevant context absent.

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%: project_id, enterprise_project_id, and every nested data_list field (host_id, file_path, file_hash, file_attr) is documented in Chinese in the schema itself. The description adds no parameter meaning, so the baseline 3 applies.

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 states a specific verb and resource ('恢复已隔离文件' = restore isolated files), which does distinguish it from ListIsolatedFile and DeleteIsolatedFile by implication. However, it never names siblings or clarifies scope (which host, single vs. batch), so an agent reading only this line has a bare minimum of identifying information, largely in one language.

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 instead of hss__DeleteIsolatedFile or hss__ListIsolatedFile, no prerequisite (must the file appear in the isolation list first?), and no exclusions. The restore semantics are implied by the verb 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