Skip to main content
Glama

List cron jobs

k8s_list_cron_jobs
Read-onlyIdempotent

List Kubernetes CronJobs in a namespace to inspect scheduled workloads and verify schedules or contexts before managing them.

Instructions

List CronJobs in a namespace.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "k8s_list_cron_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.
namespaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds only that listing is namespace-scoped, and says nothing about whether omitting the namespace lists all namespaces or errors, nor about pagination or result size.

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?

One short, front-loaded sentence with zero padding, which is structurally clean. However, it is terse to the point of under-specification rather than genuinely concise, so it sits at the minimum-viable level.

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?

No output schema exists, so the description should at least indicate result shape, ordering, or scope behavior, and it does none of these. For a listing tool with an ambiguous optional namespace parameter, the definition leaves the agent to guess the most consequential behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: 'context' is documented in the schema but 'namespace' is not. The description's phrase 'in a namespace' does not explain what the null default means, which is the key ambiguity an agent would face when deciding whether to pass it.

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?

States a specific verb and resource ('List CronJobs'), so an agent knows exactly what object type is returned. It does not differentiate from close siblings like k8s_list_jobs or k8s_describe_cron_job, which is the only thing keeping it from 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?

No when-to-use guidance, no alternatives named, no exclusion criteria. The agent gets no signal about preferring this over k8s_describe_cron_job or k8s_list_jobs; the only implied constraint is namespace scoping.

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