Skip to main content
Glama

hss__ListNamespaces

Lists namespaces for a specified HSS cluster and project, enabling inspection of Kubernetes namespace resources within Huawei Cloud.

Instructions

[HSS] 获取集群下的namespace

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__ListNamespaces"
  }
}

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.8/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden, yet it only implies a read operation through "获取". It says nothing about required permissions, whether the list is paginated or scoped by enterprise project, or what happens with a cluster that has no namespaces.

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 line is efficient and front-loaded, but here brevity is under-specification rather than discipline; nothing is wasted, but nothing beyond the minimum is present.

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?

A three-parameter tool with no annotations, no output schema, and placeholder-quality schema descriptions requires more description than this. Neither the return shape nor the effect of the optional enterprise project filter is covered, leaving the agent to guess at behavior before calling.

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 three parameters are nominally documented in the schema and a baseline of 3 applies. The description adds no meaning beyond that, and notably does not explain the role of the optional enterprise_project_id filter even though it is the only non-required parameter.

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 and resource ("获取集群下的namespace" = list the namespaces under a cluster) and the "[HSS]" prefix ties it to its service. It is clear what the tool returns, though it never contrasts itself with the many other ListNamespaces tools in the catalog (cse__ListNacosNamespaces, servicestage__ListNamespaces), so the agent must infer differentiation from the service tag alone.

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 exclusions, and no mention of alternatives. The agent must infer from the name that this is the HSS-scoped namespace listing rather than one of the several sibling namespace tools; nothing in the description states that condition.

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