Skip to main content
Glama

hss__ShowAppRaspSwitchStatus

Check whether application protection (RASP) is enabled on a single server using its host ID and project details to verify security coverage.

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": {
      "enterprise_project_id": "<enterprise_project_id>",
      "host_id": "<host_id>",
      "project_id": "<project_id>"
    },
    "name": "hss__ShowAppRaspSwitchStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
host_idYeshost id
app_typeNo应用类型,包含如下1种。java
project_idYes项目ID
enterprise_project_idYes企业项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 disclosure burden, yet it only implies a safe read via 查询. It says nothing about required permissions, behavior when RASP is disabled or unavailable on the host, or what the status result looks like, which is a real gap for a no-annotation tool with no output schema.

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?

The description is very short and front-loads the purpose tag and verb. The two clauses are near-duplicative (查询应用防护开启状态 followed by a longer restatement), costing a little density but nothing is misleading or bloated.

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

Completeness3/5

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

For a simple four-parameter read tool whose parameters are fully documented in the schema, the description covers the core purpose and scope. However, with no annotations and no output schema, it should at least hint at what the returned status means or any prerequisite, which it does not.

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, project_id, enterprise_project_id, and the app_type enum (java) are all documented in the schema itself. The description mentions the single-server scope but adds no syntax, default, or format detail beyond the schema, 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 names a specific verb and resource in both languages: query the application protection (RASP) enabled status. It also narrows the scope to a single server (单台服务器), which distinguishes it from the sibling mutation tools such as SetRaspSwitch and SwitchRasp. It does not explicitly name an alternative, so it falls short of a 5.

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 explicit when-to-use or when-not-to-use guidance, and no reference to alternatives like ShowRaspServerDetail or ListRaspEvents. The only implied context is that this is a read-only status check scoped to one host (单台服务器), which the agent must infer.

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