Skip to main content
Glama

hss__SyncSecurityGroupPolicies

Synchronizes the latest security group policy data for a specified cluster in Huawei Cloud HSS, keeping security group rules current for compliance and policy 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>",
      "project_id": "<project_id>"
    },
    "name": "hss__SyncSecurityGroupPolicies"
  }
}

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.9/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 discloses almost nothing beyond the word 'sync'. For a trigger-style operation it should say whether it is asynchronous (returning a task/job id), whether it is idempotent, whether it overwrites existing local policy data, and whether elevated permissions are required; none of this is present.

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 zero filler and no redundant restatement of the tool name. The trade-off is that it is under-specified rather than concise, but there is no wasted wording to trim.

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 side-effecting sync operation with three parameters, no annotations, and no output schema, the description leaves too much unknown: what the sync produces, whether it is long-running, and what happens to existing policies. The only thing an agent can reliably infer is the rough domain.

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 parameter layer is technically documented and the baseline of 3 applies. However, the schema's own descriptions are truncated boilerplate (e.g. '**参数解释**:'), so the description could have compensated by clarifying what cluster_id scopes and what enterprise_project_id's default '0' means — it adds nothing.

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 pairs a specific verb (sync / 同步) with a specific resource (security group policies under a cluster / 集群下安全组策略), which implicitly separates it from the List/Create/Delete/Update security-group-policy siblings. It stops short of a 5 because the direction and source of the sync (pull from cloud vendor into HSS vs. push out) is never stated, leaving the actual effect of the operation ambiguous.

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 statement of when a sync is needed versus calling hss__ListSecurityGroupPolicies, no prerequisites, and no note about whether it should follow a create/update. An agent must guess the triggering condition entirely.

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