Skip to main content
Glama

hss__ListK8sDeployments

Retrieve basic information for Kubernetes deployments in Huawei Cloud HSS, with optional filters by cluster, namespace, and deployment name.

Instructions

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

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

Input Schema

NameRequiredDescriptionDefault
limitYes每页显示个数
offsetNo偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
project_idYes**参数解释**:
cluster_nameNo所属集群名称
namespace_nameNo命名空间名称
deployment_nameNodeployment名称
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 supplied, so the description carries the full disclosure burden, yet it says nothing about read-only semantics, pagination behavior beyond the schema defaults, permissions, or result ordering. The phrase '基本信息列表' hints at a summary listing but gives no detail on what is included or excluded.

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, but it is under-specified rather than concise. It is front-loaded but lacks the structure needed to guide invocation.

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 7 parameters, no annotations, and no output schema, the description should explain pagination, filter combinations, and what a deployment record contains. Instead it offers only a bare purpose phrase, leaving the agent dependent entirely on the schema.

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 limit, offset, cluster_name, namespace_name, deployment_name, and enterprise_project_id. The description adds nothing about filtering semantics or how these parameters combine, so the baseline 3 applies.

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 and resource ('查询deployment基本信息列表' – query deployment basic info list), which is clearer than the name alone. However, it does not distinguish this tool from siblings like ListK8sPods, ListK8sJobs, or ListK8sDaemonSets beyond the resource word, and '基本信息' (basic information) is vague about which fields are returned.

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 note about alternatives (e.g., ShowK8sPodDetail for a single resource), and no indication of prerequisites such as the need for a project_id and cluster context. The agent must infer all of this from the schema.

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