Skip to main content
Glama

hss__ListContainerNetworkPolicy

Retrieves the network policy list for a container cluster, supporting pagination and keyword or namespace filters for HSS security review.

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

Input Schema

NameRequiredDescriptionDefault
limitYes每页显示个数
offsetYes偏移量:指定返回记录的开始位置
keywordNo关键词
namespaceNo命名空间
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, and it discloses almost nothing beyond the fact that this reads data. It does not mention that results are paginated (limit/offset are required), whether results are filtered by namespace/keyword, or what the read requires in terms of permissions. A read-only listing tool is the mildest case, so this is not a 1, but it is far from adequate.

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 with a bracketed service tag and zero filler. It is efficient, though the terseness is more a symptom of under-specification than of disciplined editing.

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

Completeness5/5

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

Incorrect placeholder removed.

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 input schema already documents each of the 7 parameters (pagination, keyword, namespace, cluster_id, project_id). The description adds no semantics beyond the schema, which is the correct baseline of 3 given the schema does the heavy lifting.

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?

"查询...策略列表" gives a specific verb (list/query) plus resource (container cluster network policies), which rules out the Create/Delete/Update siblings. However, it never distinguishes itself from hss__SyncContainerNetworkPolicyList or the cc__ List* policy tools, and the scope (per-cluster, per-namespace) is left implicit.

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 at all: nothing says what this list is for, when to prefer SyncContainerNetworkPolicyList, or what preconditions (an existing cluster and project) must hold. The only usage signal an agent can infer is the imperative verb.

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