Skip to main content
Glama

hss__SyncContainerNetworkPolicyList

Syncs HSS container network policy data for a specified cluster so policy status stays current.

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>",
      "project_id": "<project_id>"
    },
    "name": "hss__SyncContainerNetworkPolicyList"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes集群id
project_idYes**参数解释**:
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does not meet it. 'Sync latest data' implies a mutation of stored state, but the description never says what gets written, whether existing records are overwritten or removed, whether the operation is synchronous or long-running, whether it is idempotent, or what permissions/auth it requires.

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 sentence is front-loaded and free of padding, so there is no wasted wording. But it is curt to the point of under-specification for a state-changing tool, so brevity here is not equivalent to good structure.

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

Completeness2/5

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

For a mutating sync operation with no annotations and no output schema, the description should at minimum cover side effects, expected result, and preconditions. None of that is present, leaving the agent unable to predict what calling it changes or returns.

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 reported as 100%, so the schema nominally documents all three parameters, which sets the baseline at 3. The description adds no meaning beyond the schema — and note that the project_id and enterprise_project_id schema descriptions are effectively empty placeholders ('**参数解释**:'), so a sentence on their role in scoping the sync would have added real value.

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 does give a verb ('同步' / sync) and a resource ('容器网络策略' / container network policy) scoped to a cluster, so the general domain of the tool is clear. However, it does not explain what 'sync' means concretely — pulling cluster-side policy state into HSS, refreshing an existing inventory, or reconciling drift — and it does not distinguish itself from the sibling hss__ListContainerNetworkPolicy, which an agent could easily pick instead.

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: no trigger conditions, no prerequisites (e.g. cluster must be online/connected), no indication of how this differs from List/Create/Update/Delete counterparts, and no note about how often or whether to call it before listing. The agent must infer everything from the name.

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