Skip to main content
Glama

get_cronjobs

Read-only

Fetch CronJob summary rows: name, namespace, schedule, suspend, active jobs, last schedule and last successful time. A list needs namespace or all_namespaces=true and carries total, returned, truncated and scope.

Input Schema

NameRequiredDescriptionDefault
nameNoSpecific CronJob name to fetch.
namespaceNoKubernetes namespace to list. A list needs either this or all_namespaces=true; a named read (name) needs neither.
cluster_idYesAnkra cluster id (UUID) the call targets. Discover ids with list_clusters.
all_namespacesNoSet true to list every namespace on the cluster deliberately. Omit it and pass namespace to list one namespace; a list with neither is refused (error_code scope_required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered, but the description goes further by disclosing the return shape (summary rows and their fields) and the list metadata ('total, returned, truncated and scope') — valuable since there is no output schema. Useful added context without contradicting the safety hint.

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?

Two tight sentences with the returned-row content front-loaded ahead of the list constraint. Every clause carries information, though the second sentence partially duplicates the schema's scope explanation.

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?

With no output schema, the description usefully supplies the return fields and list metadata, which is what an agent needs to interpret results. It does not detail a named single-read's response separately, but overall it is complete enough for a read-only summary tool.

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 coverage is 100%, so all four parameters are already documented, including the scope_required error. The description largely restates the list-vs-named-read requirement rather than adding new 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?

States a specific verb ('Fetch') and resource ('CronJob summary rows') and enumerates the returned fields, which cleanly distinguishes it from sibling resource fetchers like get_jobs and get_deployments. The only gap is that it never explicitly names or contrasts with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains the invocation constraint for listing ('A list needs namespace or all_namespaces=true'), but this is really a scoping rule rather than when-to-use guidance. There is no explicit routing to alternatives such as get_jobs or describe_resource, so selection guidance is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources