Skip to main content
Glama

hss__ListK8sCronJobs

Lists Kubernetes CronJob basic information in a specified project, with optional filters for cluster, namespace, and CronJob name to inspect scheduled workloads.

Instructions

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

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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, yet it only says it queries basic info. It does not disclose pagination behavior beyond schema defaults, permission requirements, or what 'basic info' fields are returned. Listing is likely safe and read-only, but that is inferred, not stated.

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?

A single short bracketed sentence with a product tag; it is front-loaded and wastes no words. Brevity is achieved partly by omitting content, but structure itself is clean.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, 2-required filtered list tool with full schema coverage and no output schema, the description does the minimum: identifies the resource. It could mention that it returns a paginated list of cronjobs and their info, but schema and defaults cover the call mechanics.

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 baseline is 3. The description adds no parameter detail (limit/offset/project_id/cluster_name/cronjob_name/namespace_name/enterprise_project_id), leaving all meaning to the schema.

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 (query/list) and resource (cronjobs basic info list), which is clear. It does not differentiate from the sibling hss__ListK8sJobs or other workload listers, so it falls short of a 5.

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 hss__ListK8sJobs (the non-CronJob job lister) or the other K8s workload listers. The description implies a read-list operation only by name; no prerequisites, exclusions, or alternatives are named.

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