Skip to main content
Glama

hss__ParseMultiCloudClusterConfig

Parses a kubeconfig file to extract multi-cloud cluster connection details for Huawei Cloud HSS under a specified project.

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": {
      "kube_config": "<kube_config>",
      "project_id": "<project_id>"
    },
    "name": "hss__ParseMultiCloudClusterConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes**参数解释**:
kube_configYeskubeconfig文件
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior1/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 nothing: no indication of whether parsing mutates state or is read-only, whether the kubeconfig is stored, whether credentials in it are consumed, or what permissions project_id requires. 'Parse' hints at a non-destructive operation but does not commit to it, which is inadequate for a tool ingesting a credential-bearing kubeconfig.

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?

It is a single short, front-loaded sentence with zero padding, which is structurally clean. That brevity is under-specification rather than discipline, so it earns only a middling score on this dimension.

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?

The tool takes three parameters including a nested kube_config object, has no annotations and no output schema, yet the description is one line that never explains what the parse yields or how failures are surfaced. For a config-ingestion tool of this complexity, the definition is well short of complete.

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 schema already labels kube_config ('kubeconfig文件') and the other fields, and the baseline of 3 applies. The description adds no meaning of its own about the kube_config object structure, the project_id role, or the enterprise_project_id default of '0'.

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 states a verb ('解析' / parse) and a resource ('多云集群的配置文件' / multi-cloud cluster config file), which distinguishes it from CRUD siblings like CreateMultiCloudClusters or ListMultiCloudClusters. However, it never says what parsing produces or what the tool is for beyond the literal name, leaving the agent to guess the outcome.

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 reference to any alternative such as CreateMultiCloudClusters or ShowMultiCloudClusterProxyScript. The agent must infer from the name alone that this is an intake/validation step before cluster registration.

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