Skip to main content
Glama

hss__ListK8sJobs

Retrieves a paginated list of Kubernetes job basic details for a Huawei Cloud project, filterable by job name, cluster, and namespace.

Instructions

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

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden, yet it only implies a read operation through the word '查询'. It says nothing about permission requirements, whether results are paginated (the limit/offset params imply it but the text does not confirm), what a default listing returns, or any rate or scope limits.

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?

It is a single front-loaded sentence with no filler or redundancy. Brevity is not achieved at the cost of muddled structure, though the terseness leaves the definition under-specified rather than genuinely efficient.

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 seven-parameter listing tool with no annotations and no output schema, the description is far too thin. It does not explain how the cluster/namespace/name filters interact, what fields '基本信息' includes, or how pagination bounds should be chosen, all of which an agent needs to call it well.

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, job_name, cluster_name, namespace_name and project_id, and the baseline of 3 applies. The description adds no extra meaning such as filter-combination behavior or the effect of omitting optional filters.

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 names a verb (查询/list) and a resource (jobs 基本信息), so the core operation is identifiable. However, it never distinguishes plain Kubernetes Jobs from the close sibling hss__ListK8sCronJobs, nor does it explain what '基本信息' covers, leaving an agent to infer scope from the schema 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 mention of when to prefer the pod/deployment/cronjob listers, and no statement of prerequisites such as needing a project_id or cluster context. The agent must derive invocation context entirely from the parameter names.

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