Skip to main content
Glama

hss__ListK8sStatefulSets

Lists Kubernetes StatefulSets and their basic details in Huawei Cloud HSS, with filtering by cluster, namespace, StatefulSet name, and pagination for inventory or troubleshooting.

Instructions

[HSS] 查询statefulset基本信息列表

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

Input Schema

NameRequiredDescriptionDefault
limitYes每页显示个数
offsetNo偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
project_idYes**参数解释**:
cluster_nameNo所属集群名称
namespace_nameNo命名空间名称
statefulset_nameNostatefulset名称
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?

No annotations are provided, so the description carries the full behavioral burden. It doesn't state that this is a read-only operation, doesn't mention permission or project-scope requirements, doesn't describe pagination behavior implied by limit/offset, and doesn't say what the response contains. For a 7-parameter list tool with zero annotation coverage, this is a significant gap.

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 description is a single short phrase with no wasted words, so it is concise. However, it is under-specified rather than genuinely front-loaded, and the [HSS] tag is the only structural element, leaving no room for the scoping or filtering context an agent needs.

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?

With seven parameters, no annotations, and no output schema, the definition should say more about read-only safety, filtering semantics, and return shape. The single terse sentence leaves the agent without enough context to call the tool confidently, though the fully described schema partially compensates.

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 documents all seven parameters, including the limit/offset bounds and the cluster, namespace, and statefulset name filters. The description adds no additional parameter meaning, so the baseline 3 is appropriate.

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 states a specific verb and resource: querying a statefulset basic-info list. It's clear what the tool does, but it doesn't distinguish this from sibling list tools such as ListK8sDeployments, ListK8sPods, or ListK8sDaemonSets, so the agent gets no signal about which K8s resource list to choose.

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 guidance on when to use this tool versus the many sibling K8s list tools. The description gives no prerequisites, no exclusions, and no alternative named, so usage must be inferred from the name alone.

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