Skip to main content
Glama

hss__ListSecurityGroupPolicies

Lists security group policies configured for cloud-native network model 2.0 clusters, so you can review and audit cluster network access controls.

Instructions

[HSS] 查询云原生网络模式2.0的集群已配置的安全组策略

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": {
      "cluster_id": "<cluster_id>",
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>"
    },
    "name": "hss__ListSecurityGroupPolicies"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes每页显示个数
offsetYes偏移量:指定返回记录的开始位置
cluster_idYes集群id
project_idYes**参数解释**:
enterprise_project_idNo**参数解释**:0

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 behavioral burden, yet it discloses almost nothing beyond the resource scope. It does not state that results are paginated (a fact only inferable from limit/offset), what permission or mode-2.0 preconditions apply, whether an empty result means 'none configured', or what fields come back.

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 front-loaded sentence carrying the vendor tag and the scope constraint with no filler. It is efficient, though the terseness comes at the cost of the usage and behavioral detail the other dimensions penalize.

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 five-parameter, four-required list tool with no annotations and no output schema, the description covers what is listed but not how it behaves. The pagination model, required mode-2.0 cluster precondition, and empty-result semantics are all left unstated.

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%, with per-parameter descriptions for limit, offset, cluster_id, project_id and enterprise_project_id, so the baseline is 3. The description adds nothing about parameter meaning, but nothing is left undocumented in the schema either.

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 gives a specific verb (查询/query) and resource (安全组策略 / security group policies), narrowed by the scope '云原生网络模式2.0的集群已配置' — only policies already configured on cloud-native network mode 2.0 clusters. That scope distinguishes it from the mutating siblings (CreateSecurityGroupPolicy, UpdateSecurityGroupPolicy, DeleteSecurityGroupPolicy), though it does not name any sibling explicitly.

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 SyncSecurityGroupPolicies or the other policy list tools. The only usage signal is implicit in '已配置' (already configured), which hints this returns existing rather than pending policies but leaves the agent to infer it.

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